Platforms to show: All Mac Windows Linux Cross-Platform
Back to VNInstanceMaskObservationMBS class.
VNInstanceMaskObservationMBS.Constructor Private
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Vision | MBS MacFrameworks Plugin | 25.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
VNInstanceMaskObservationMBS.generateMaskedImageOfInstances(Instances as NSIndexSetMBS, requestHandler as VNImageRequestHandlerMBS, croppedToInstancesExtent as Boolean, byref Error as NSErrorMBS) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Vision | MBS MacFrameworks Plugin | 25.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
instances: The collection of instances.
requestHandler: The image request callback.
cropResult: A Boolean value that indicates whether to crop the image to the smallest rectangle that contains all instances.
error: On output, an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.
Returns the pixel buffer that contains the image. On failure, this method returns nil.
Result is an object of CVPixelBufferMBS class.
VNInstanceMaskObservationMBS.generateMaskForInstances(Instances as NSIndexSetMBS, byref Error as NSErrorMBS) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Vision | MBS MacFrameworks Plugin | 25.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
instances: The collection of instances.
error: On output the error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.
Returns the pixel buffer that contains the image. On failure, this method returns nil.
Result is an object of CVPixelBufferMBS class.
Some examples using this method:
VNInstanceMaskObservationMBS.generateScaledMaskForImageForInstances(Instances as NSIndexSetMBS, requestHandler as VNImageRequestHandlerMBS, byref Error as NSErrorMBS) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Vision | MBS MacFrameworks Plugin | 25.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
instances: The collection of instances.
requestHandler: The image request callback.
error: On output, an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.
Returns the pixel buffer that contains the image. On failure, this method returns nil.
Result is an object of CVPixelBufferMBS class.
Some examples using this method:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.