---
title: transform
framework: vision
role: symbol
role_heading: Instance Property
path: vision/horizonobservation/transform
---

# transform

The transform to apply to the detected horizon.

## Declaration

```swift
let transform: CGAffineTransform
```

## Discussion

Discussion Apply the transform’s inverse to orient the image in an upright position and make the detected horizon level.

## See Also

### Getting the transform

- [transform(for:)](vision/horizonobservation/transform(for:).md)
