Instance Property minimum Aspect Ratio
specifying the minimum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.
iOS 11.0+ macOS 10.13+ Mac Catalyst 13.0+ Beta tvOS 11.0+ Declaration @property(readwrite, nonatomic, assign) VNAspect Ratio minimumAspectRatio;
The value should range from
, inclusive. The default value is
0 .5 See Also Configuring Rectangle Detection maximum Aspect Ratio
specifying the maximum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.
float quadrature Tolerance
A float specifying the number of degrees a rectangle corner angle can deviate from 90°.
specifying the minimum size of the rectangle to be detected, as a proportion of the smallest dimension.
float VNAspect Ratio
A type alias for expressing rectangle aspect ratios in Vision.
A type alias for the confidence value of an observation.
A typealias for expressing tolerance angles in Vision.
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