Platforms to show: All Mac Windows Linux Cross-Platform

VNDetectRectanglesRequestMBS class

Super class: VNImageBasedRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
An image analysis request that finds projected rectangular regions in an image.

A rectangle detection request locates regions of an image with rectangular shape, like credit cards, business cards, documents, and signs. The request returns its observations in the form of VNRectangleObservationMBS objects, which contain normalized coordinates of bounding boxes containing the rectangle.
Use this type of request to find the bounding boxes of rectangles in an image. Vision returns observations for rectangles found in all orientations and sizes, along with a confidence level to indicate how likely it is that the observation contains an actual rectangle.
To further configure or restrict the types of rectangles found, set properties on the request specifying a range of aspect ratios, sizes, and quadrature tolerance.
Subclass of the VNImageBasedRequestMBS class.

Super class VNImageBasedRequestMBS

Super class VNRequestMBS

This class has no sub classes.

Some examples using this class:

Blog Entries


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


VNDetectHumanRectanglesRequestMBS   -   VNDetectTextRectanglesRequestMBS


The biggest plugin in space...