Platforms to show: All Mac Windows Linux Cross-Platform
VNSequenceRequestHandlerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Instantiate this handler to perform Vision requests on a series of images. Unlike the VNImageRequestHandlerMBS, you don't specify the image on creation. Instead, you supply each image frame one by one as you continue to call one of the perform methods.
- property Handle as Integer
- 7 methods
- method Constructor
- method performRequestsOnCGImage(requests() as VNRequestMBS, CGImage as CGImageMBS, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnCIImage(requests() as VNRequestMBS, CIImage as Variant, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnCVPixelBuffer(requests() as VNRequestMBS, CVPixelBuffer as Variant, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnImageData(requests() as VNRequestMBS, Data as MemoryBlock, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnImageFile(requests() as VNRequestMBS, File as FolderItem, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnPicture(requests() as VNRequestMBS, Picture as Picture, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- 8 constants
Orientations
Constant | Value | Description |
---|---|---|
kOrientationDown | 3 |
The encoded image data is rotated 180° from the image's intended display orientation. |
kOrientationDownMirrored | 4 |
The encoded image data is vertically flipped from the image's intended display orientation. |
kOrientationLeft | 8 |
The encoded image data is rotated 90° clockwise from the image's intended display orientation. |
kOrientationLeftMirrored | 5 |
The encoded image data is horizontally flipped and rotated 90° counter-clockwise from the image's intended display orientation. |
kOrientationRight | 6 |
The encoded image data is rotated 90° clockwise from the image's intended display orientation. |
kOrientationRightMirrored | 7 |
The encoded image data is horizontally flipped and rotated 90° clockwise from the image's intended display orientation. |
kOrientationUp | 1 |
The encoded image data matches the image's intended display orientation. |
kOrientationUpMirrored | 2 |
The encoded image data is horizontally flipped from the image's intended display orientation. |
This class has no sub classes.
Blog Entries
Release notes
- Version 23.2
- Fixed a memory leak in VNTargetedImageRequestMBS, VNSequenceRequestHandlerMBS and VNImageRequestHandlerMBS when passing in a Xojo picture.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
VNSaliencyImageObservationMBS - VNTargetedImageRequestMBS