Class

VNHorizonObservation

Horizon angle information detected by an image analysis request.

Declaration

class VNHorizonObservation : VNObservation

Overview

Instances of this class result from invoking a VNDetectHorizonRequest and report the angle and transform of the horizon in an image.

Topics

Evaluating the Horizon

var angle: CGFloat

Angle of the observed horizon.

var transform: CGAffineTransform

Transform applied to the detected horizon.

Relationships

Inherits From

Conforms To

See Also

Horizon Detection

class VNDetectHorizonRequest

An image analysis request that determines the horizon angle in an image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software