Platforms to show: All Mac Windows Linux Cross-Platform

Back to VNDetectRectanglesRequestMBS class.

VNDetectRectanglesRequestMBS.maximumAspectRatio as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A float specifying the maximum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.

The value should range from 0.0 to 1.0, inclusive. The default value is 0.5.
(Read and Write property)

VNDetectRectanglesRequestMBS.maximumObservations as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
An integer specifying the maximum number of rectangles Vision returns.

The default value is 1.
Setting this property to 0 allows Vision algorithms to return an unlimited number of observations.
(Read and Write property)

Some examples using this property:

VNDetectRectanglesRequestMBS.minimumAspectRatio as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A float specifying the minimum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.

The value should range from 0.0 to 1.0, inclusive. The default value is 0.5.
(Read and Write property)

Some examples using this property:

VNDetectRectanglesRequestMBS.minimumConfidence as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A value specifying the minimum acceptable confidence level.

Vision won't return rectangles with a confidence score lower than the specified minimum.
The confidence score ranges from 0.0 to 1.0, inclusive, where 0.0 represents no confidence, and 1.0 represents full confidence.
(Read and Write property)

Some examples using this property:

VNDetectRectanglesRequestMBS.minimumSize as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A float specifying the minimum size of the rectangle to be detected, as a proportion of the smallest dimension.

The value should range from 0.0 to 1.0 inclusive. The default minimum size is 0.2.
Any smaller rectangles that Vision may have detected aren't returned.
(Read and Write property)

VNDetectRectanglesRequestMBS.quadratureTolerance as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A float specifying the number of degrees a rectangle corner angle can deviate from 90°.

The tolerance value should range from 0 to 45, inclusive. The default tolerance is 30.
(Read and Write property)

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...