Platforms to show: All Mac Windows Linux Cross-Platform
VNDetectFaceLandmarksRequestMBS 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 |
By default, a face landmarks request first locates all faces in the input image, then analyzes each to detect facial features.
If you've already located all the faces in an image, or want to detect landmarks in only a subset of the faces in the image, set the inputFaceObservations property to an array of VNFaceObservationMBS objects representing the faces you want to analyze. (You can either use face observations output by a VNDetectFaceRectanglesRequestMBS or manually create VNFaceObservation instances with the bounding boxes of the faces you want to analyze.)
Subclass of the VNImageBasedRequestMBS class.
- property constellation as Integer
- 3 methods
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- method inputFaceObservations as VNFaceObservationMBS()
- method setInputFaceObservations(faces() as VNFaceObservationMBS)
- shared method supportsConstellation(requestRevision as Integer = 1, constellation as Integer) as Boolean
- 3 constants
Constellations
Constant | Value | Description |
---|---|---|
VNRequestFaceLandmarksConstellation65Points | 1 |
A constellation with 65 points. |
VNRequestFaceLandmarksConstellation76Points | 2 |
A constellation with 76 points. |
VNRequestFaceLandmarksConstellationNotDefined | 0 |
An undefined constellation. |
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.
VNDetectFaceCaptureQualityRequestMBS - VNDetectFaceRectanglesRequestMBS