<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNHorizonObservation",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNHorizonObservation"
  },
  "title" : "VNHorizonObservation"
}
-->

# VNHorizonObservation

The horizon angle information that an image-analysis request detects.

```
class VNHorizonObservation
```

## Overview

Instances of this class result from invoking a [`VNDetectHorizonRequest`](/documentation/Vision/VNDetectHorizonRequest), and report the [`angle`](/documentation/Vision/VNHorizonObservation/angle) and [`transform`](/documentation/Vision/VNHorizonObservation/transform) of the horizon in an image.

## Topics

### Evaluating the Horizon

[`angle`](/documentation/Vision/VNHorizonObservation/angle)

The angle of the observed horizon.

[`transform`](/documentation/Vision/VNHorizonObservation/transform)

The transform to apply to the detected horizon.

[`transform(forImageWidth:height:)`](/documentation/Vision/VNHorizonObservation/transform(forImageWidth:height:))

Creates an affine transform for the specified image width and height.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)