float specifying the minimum size of the rectangle to be detected, as a proportion of the smallest dimension.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
The value should range from
1.0 inclusive. The default minimum size is
Any smaller rectangles that Vision may have detected aren't returned.
Configuring Rectangle Detection
float specifying the minimum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.
float specifying the maximum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.
A float specifying the number of degrees a rectangle corner angle can deviate from 90°.
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.