Upravit

Sdílet prostřednictvím


VNSequenceRequestHandler.Perform Method

Definition

Overloads

Perform(VNRequest[], CGImage, NSError)

Asynchronously executes the vision recognition tasks in requests to the image.

Perform(VNRequest[], CIImage, NSError)

Asynchronously executes the vision recognition tasks in requests to the image.

Perform(VNRequest[], CVPixelBuffer, NSError)

Asynchronously executes the vision recognition tasks in requests to the pixelBuffer.

Perform(VNRequest[], NSData, NSError)

Asynchronously executes the vision recognition tasks in requests to the imageData.

Perform(VNRequest[], NSUrl, NSError)

Asynchronously executes the vision recognition tasks in requests to the image at imageUrl.

Perform(VNRequest[], CGImage, CGImagePropertyOrientation, NSError)

Asynchronously executes the vision recognition tasks in requests to the image.

Perform(VNRequest[], CIImage, CGImagePropertyOrientation, NSError)

Asynchronously executes the vision recognition tasks in requests to the image.

Perform(VNRequest[], CVPixelBuffer, CGImagePropertyOrientation, NSError)

Asynchronously executes the vision recognition tasks in requests to the pixelBuffer.

Perform(VNRequest[], NSData, CGImagePropertyOrientation, NSError)

Asynchronously executes the vision recognition tasks in requests to the imageData.

Perform(VNRequest[], NSUrl, CGImagePropertyOrientation, NSError)

Asynchronously executes the vision recognition tasks in requests to the image located at imageUrl.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

requests
VNRequest[]

The array of VNRequest objects to be detected.

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

Applies to