Platforms to show: All Mac Windows Linux Cross-Platform

Back to VNTargetedImageRequestMBS class.

VNTargetedImageRequestMBS.TargetedImageRequestWithCGImage(CGImage as CGImageMBS, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done.

cgImage: The targeted Core Graphics image.
orientation: The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see kCGImagePropertyOrientation for details. Value 0 means unknown.
options: A dictionary with options specifying auxiliary information for the image.

When work is done, the optional delegate method is invoked to provide result on success or error on failure.

VNTargetedImageRequestMBS.TargetedImageRequestWithCIImage(CIImage as Variant, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request targeting a CIImageMBS of known orientation, executing the completion handler when done.

ciImage: The CIImage encapsulating the targeted image. Variant must be CIImageMBS.
orientation: The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see kCGImagePropertyOrientation for details. Pass zero if unknown.
options: A dictionary with options specifying auxiliary information for the image.

When work is done, the optional delegate method is invoked to provide result on success or error on failure.

VNTargetedImageRequestMBS.TargetedImageRequestWithCVPixelBuffer(CVPixelBuffer as Variant, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request targeting an image in a CVPixelBufferMBS of known orientation, executing the completion handler when done.

pixelBuffer: The pixel buffer containing the targeted image. Variant must be CVPixelBufferMBS.
orientation: The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see kCGImagePropertyOrientation for details. Pass zero if unknown.
options: A dictionary with options specifying auxiliary information for the image.

When work is done, the optional delegate method is invoked to provide result on success or error on failure.

VNTargetedImageRequestMBS.TargetedImageRequestWithImageData(Data as MemoryBlock, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request targeting a raw data image of known orientation, executing the completion handler when done.

imageData: The data containing the targeted image.
orientation: The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see kCGImagePropertyOrientation for details. Pass zero if unknown.
options: A dictionary with options specifying auxiliary information for the image.

When work is done, the optional delegate method is invoked to provide result on success or error on failure.

VNTargetedImageRequestMBS.TargetedImageRequestWithImageFile(File as FolderItem, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request targeting an image of known orientation, at the specified file, executing the completion handler when done.

File: The file of the targeted image.
orientation: The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see kCGImagePropertyOrientation for details. Pass 0 if unknown.
options: A dictionary with options specifying auxiliary information for the image.

When work is done, the optional delegate method is invoked to provide result on success or error on failure.

VNTargetedImageRequestMBS.TargetedImageRequestWithPicture(Picture as Picture, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done.

Picture: The targeted Core Graphics image.
orientation: The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see kCGImagePropertyOrientation for details. Value 0 means unknown.
options: A dictionary with options specifying auxiliary information for the image.

When work is done, the optional delegate method is invoked to provide result on success or error on failure.

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


The biggest plugin in space...