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 |
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.
- 6 properties
- property maximumAspectRatio as Double
- property maximumObservations as Integer
- property minimumAspectRatio as Double
- property minimumConfidence as Double
- property minimumSize as Double
- property quadratureTolerance as Double
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
Super class VNImageBasedRequestMBS
- property regionOfInterest as CGRectMBS
- method Constructor Private
Super class VNRequestMBS
- 6 properties
- property className as String
- property ClassPath as String
- property Handle as Integer
- property preferBackgroundProcessing as Boolean
- property revision as Integer
- property usesCPUOnly as Boolean
- 4 methods
- method cancel
- method Constructor Private
- method copy as VNRequestMBS
- method results as VNObservationMBS()
- 3 shared methods
- shared method currentRevision as Integer
- shared method defaultRevision as Integer
- shared method supportedRevisions as NSIndexSetMBS
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