VNSequenceRequestHandler.Perform Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Perform(VNRequest[], CGImage, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], CIImage, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], CVPixelBuffer, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], NSData, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], NSUrl, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], CGImage, CGImagePropertyOrientation, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], CIImage, CGImagePropertyOrientation, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], CVPixelBuffer, CGImagePropertyOrientation, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], NSData, CGImagePropertyOrientation, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], NSUrl, CGImagePropertyOrientation, NSError) |
Asynchronously executes the vision recognition tasks in |
Perform(VNRequest[], CGImage, NSError)
Asynchronously executes the vision recognition tasks in requests
to the image
.
[Foundation.Export("performRequests:onCGImage:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, CoreGraphics.CGImage image, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * CoreGraphics.CGImage * -> bool
override this.Perform : Vision.VNRequest[] * CoreGraphics.CGImage * -> bool
Parameters
- image
- CGImage
The image on which to perform detection.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], CIImage, NSError)
Asynchronously executes the vision recognition tasks in requests
to the image
.
[Foundation.Export("performRequests:onCIImage:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, CoreImage.CIImage image, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * CoreImage.CIImage * -> bool
override this.Perform : Vision.VNRequest[] * CoreImage.CIImage * -> bool
Parameters
- image
- CIImage
The image on which to perform detection.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], CVPixelBuffer, NSError)
Asynchronously executes the vision recognition tasks in requests
to the pixelBuffer
.
[Foundation.Export("performRequests:onCVPixelBuffer:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, CoreVideo.CVPixelBuffer pixelBuffer, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * CoreVideo.CVPixelBuffer * -> bool
override this.Perform : Vision.VNRequest[] * CoreVideo.CVPixelBuffer * -> bool
Parameters
- pixelBuffer
- CVPixelBuffer
The image on which to perform detection.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], NSData, NSError)
Asynchronously executes the vision recognition tasks in requests
to the imageData
.
[Foundation.Export("performRequests:onImageData:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, Foundation.NSData imageData, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * Foundation.NSData * -> bool
override this.Perform : Vision.VNRequest[] * Foundation.NSData * -> bool
Parameters
- imageData
- NSData
The image data on which to perform detection.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], NSUrl, NSError)
Asynchronously executes the vision recognition tasks in requests
to the image at imageUrl
.
[Foundation.Export("performRequests:onImageURL:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, Foundation.NSUrl imageUrl, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * Foundation.NSUrl * -> bool
override this.Perform : Vision.VNRequest[] * Foundation.NSUrl * -> bool
Parameters
- imageUrl
- NSUrl
The image on which to perform detection.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], CGImage, CGImagePropertyOrientation, NSError)
Asynchronously executes the vision recognition tasks in requests
to the image
.
[Foundation.Export("performRequests:onCGImage:orientation:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * -> bool
override this.Perform : Vision.VNRequest[] * CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * -> bool
Parameters
- image
- CGImage
The image on which to perform detection.
- orientation
- CGImagePropertyOrientation
The objects orientation.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], CIImage, CGImagePropertyOrientation, NSError)
Asynchronously executes the vision recognition tasks in requests
to the image
.
[Foundation.Export("performRequests:onCIImage:orientation:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, CoreImage.CIImage image, ImageIO.CGImagePropertyOrientation orientation, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * CoreImage.CIImage * ImageIO.CGImagePropertyOrientation * -> bool
override this.Perform : Vision.VNRequest[] * CoreImage.CIImage * ImageIO.CGImagePropertyOrientation * -> bool
Parameters
- image
- CIImage
The image on which to perform detection.
- orientation
- CGImagePropertyOrientation
The objects orientation.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], CVPixelBuffer, CGImagePropertyOrientation, NSError)
Asynchronously executes the vision recognition tasks in requests
to the pixelBuffer
.
[Foundation.Export("performRequests:onCVPixelBuffer:orientation:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, CoreVideo.CVPixelBuffer pixelBuffer, ImageIO.CGImagePropertyOrientation orientation, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * CoreVideo.CVPixelBuffer * ImageIO.CGImagePropertyOrientation * -> bool
override this.Perform : Vision.VNRequest[] * CoreVideo.CVPixelBuffer * ImageIO.CGImagePropertyOrientation * -> bool
Parameters
- pixelBuffer
- CVPixelBuffer
The image on which to perform detection.
- orientation
- CGImagePropertyOrientation
The objects orientation.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], NSData, CGImagePropertyOrientation, NSError)
Asynchronously executes the vision recognition tasks in requests
to the imageData
.
[Foundation.Export("performRequests:onImageData:orientation:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, Foundation.NSData imageData, ImageIO.CGImagePropertyOrientation orientation, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * Foundation.NSData * ImageIO.CGImagePropertyOrientation * -> bool
override this.Perform : Vision.VNRequest[] * Foundation.NSData * ImageIO.CGImagePropertyOrientation * -> bool
Parameters
- imageData
- NSData
The image on which to perform detection.
- orientation
- CGImagePropertyOrientation
The objects orientation.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes
Applies to
Perform(VNRequest[], NSUrl, CGImagePropertyOrientation, NSError)
Asynchronously executes the vision recognition tasks in requests
to the image located at imageUrl
.
[Foundation.Export("performRequests:onImageURL:orientation:error:")]
public virtual bool Perform (Vision.VNRequest[] requests, Foundation.NSUrl imageUrl, ImageIO.CGImagePropertyOrientation orientation, out Foundation.NSError error);
abstract member Perform : Vision.VNRequest[] * Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * -> bool
override this.Perform : Vision.VNRequest[] * Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * -> bool
Parameters
- imageUrl
- NSUrl
The image on which to perform detection.
- orientation
- CGImagePropertyOrientation
The image's orientation.
- error
- NSError
If not null
after processing, a problem that occurred during processing.
Returns
- Attributes