VNTargetedImageRequest 构造函数

定义

重载

VNTargetedImageRequest(NSObjectFlag)

在派生类上调用 的构造函数,以跳过初始化并仅分配 对象。

VNTargetedImageRequest(CVPixelBuffer, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(NSData, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(NSData, CGImagePropertyOrientation, NSDictionary)
VNTargetedImageRequest(NSData, CGImagePropertyOrientation, VNImageOptions)
VNTargetedImageRequest(NSData, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(NSUrl, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, NSDictionary)
VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, VNImageOptions)
VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, VNImageOptions)
VNTargetedImageRequest(NSUrl, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(NSData, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(NSData, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, NSDictionary)
VNTargetedImageRequest(CIImage, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(IntPtr)

创建非托管对象的托管表示形式时使用的构造函数;由运行时调用。

VNTargetedImageRequest(CGImage, NSDictionary)
VNTargetedImageRequest(CGImage, VNImageOptions)
VNTargetedImageRequest(CIImage, NSDictionary)
VNTargetedImageRequest(CIImage, VNImageOptions)
VNTargetedImageRequest(CVPixelBuffer, NSDictionary)
VNTargetedImageRequest(CVPixelBuffer, VNImageOptions)
VNTargetedImageRequest(NSData, NSDictionary)
VNTargetedImageRequest(CVPixelBuffer, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(NSData, VNImageOptions)
VNTargetedImageRequest(NSUrl, VNImageOptions)
VNTargetedImageRequest(CGImage, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, NSDictionary)
VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, VNImageOptions)
VNTargetedImageRequest(CGImage, VNImageOptions, VNRequestCompletionHandler)
VNTargetedImageRequest(CIImage, NSDictionary, VNRequestCompletionHandler)
VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, NSDictionary)
VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, VNImageOptions)
VNTargetedImageRequest(NSUrl, NSDictionary)

VNTargetedImageRequest(NSObjectFlag)

在派生类上调用 的构造函数,以跳过初始化并仅分配 对象。

protected VNTargetedImageRequest (Foundation.NSObjectFlag t);
new Vision.VNTargetedImageRequest : Foundation.NSObjectFlag -> Vision.VNTargetedImageRequest

参数

t
NSObjectFlag

未使用的 sentinel 值,传递 NSObjectFlag.Empty。

注解

当派生类在托管代码中完全构造对象并且仅希望运行时分配和初始化 NSObject 时,应调用此构造函数。 这是实现 Objective-C 使用的两步初始化过程所必需的,第一步是执行对象分配,第二步是初始化对象。 当开发人员调用采用 NSObjectFlag.Empty 的构造函数时,他们利用直接路径(一直一直指向 NSObject)来仅分配对象的内存并将 Objective-C 和 C# 对象绑定在一起。 对象的实际初始化由开发人员决定。

绑定生成器通常使用此构造函数来分配对象,但会阻止实际初始化。 分配完成后,构造函数必须初始化 对象。 对于绑定生成器生成的构造函数,这意味着它会手动调用其中一个“init”方法来初始化对象。

如果对象使用 NSObjectFlag.Empty 路径链接起来,则开发人员负责完全初始化对象。

通常,如果开发人员的构造函数调用 NSObjectFlag.Empty 基实现,则它应调用 Objective-C init 方法。 如果不是这种情况,开发人员应改为链接到其类中的适当构造函数。

参数值将被忽略,仅确保执行的唯一代码是构造阶段是基本的 NSObject 分配和运行时类型注册。 通常,链接如下所示:

//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
	var initWithFrame = new Selector ("initWithFrame:").Handle;
	if (IsDirectBinding)
		Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
	else
		Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}

适用于

VNTargetedImageRequest(CVPixelBuffer, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(NSData, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedImageData:options:completionHandler:")]
public VNTargetedImageRequest (Foundation.NSData imageData, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSData * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageData
NSData
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(NSData, CGImagePropertyOrientation, NSDictionary)

[Foundation.Export("initWithTargetedImageData:orientation:options:")]
public VNTargetedImageRequest (Foundation.NSData imageData, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : Foundation.NSData * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

imageData
NSData
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(NSData, CGImagePropertyOrientation, VNImageOptions)

public VNTargetedImageRequest (Foundation.NSData imageData, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : Foundation.NSData * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

imageData
NSData
options
VNImageOptions

适用于

VNTargetedImageRequest(NSData, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (Foundation.NSData imageData, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSData * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageData
NSData
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(NSUrl, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedImageURL:options:completionHandler:")]
public VNTargetedImageRequest (Foundation.NSUrl imageUrl, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, NSDictionary)

[Foundation.Export("initWithTargetedImageURL:orientation:options:")]
public VNTargetedImageRequest (Foundation.NSUrl imageUrl, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, VNImageOptions)

public VNTargetedImageRequest (Foundation.NSUrl imageUrl, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
options
VNImageOptions

适用于

VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, VNImageOptions)

public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
options
VNImageOptions

适用于

VNTargetedImageRequest(NSUrl, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (Foundation.NSUrl imageUrl, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedCIImage:orientation:options:completionHandler:")]
public VNTargetedImageRequest (CoreImage.CIImage ciImage, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (CoreImage.CIImage ciImage, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedCVPixelBuffer:orientation:options:completionHandler:")]
public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(NSData, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedImageData:orientation:options:completionHandler:")]
public VNTargetedImageRequest (Foundation.NSData imageData, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSData * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageData
NSData
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(NSData, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (Foundation.NSData imageData, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSData * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageData
NSData
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedImageURL:orientation:options:completionHandler:")]
public VNTargetedImageRequest (Foundation.NSUrl imageUrl, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedCGImage:orientation:options:completionHandler:")]
public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(NSUrl, CGImagePropertyOrientation, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (Foundation.NSUrl imageUrl, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(CVPixelBuffer, CGImagePropertyOrientation, NSDictionary)

[Foundation.Export("initWithTargetedCVPixelBuffer:orientation:options:")]
public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CIImage, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (CoreImage.CIImage ciImage, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(IntPtr)

创建非托管对象的托管表示形式时使用的构造函数;由运行时调用。

protected internal VNTargetedImageRequest (IntPtr handle);
new Vision.VNTargetedImageRequest : nativeint -> Vision.VNTargetedImageRequest

参数

handle
IntPtr

nativeint

指向非托管对象的指针 (句柄) 。

注解

此构造函数由运行时基础结构 (GetNSObject(IntPtr)) 调用,以便为指向非托管 Objective-C 对象的指针创建新的托管表示形式。 开发人员不应直接调用此方法,而是应调用 GetNSObject 方法,因为它将阻止托管对象的两个实例指向同一本机对象。

适用于

VNTargetedImageRequest(CGImage, NSDictionary)

[Foundation.Export("initWithTargetedCGImage:options:")]
public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CGImage, VNImageOptions)

public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
options
VNImageOptions

适用于

VNTargetedImageRequest(CIImage, NSDictionary)

[Foundation.Export("initWithTargetedCIImage:options:")]
public VNTargetedImageRequest (CoreImage.CIImage ciImage, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CIImage, VNImageOptions)

public VNTargetedImageRequest (CoreImage.CIImage ciImage, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
options
VNImageOptions

适用于

VNTargetedImageRequest(CVPixelBuffer, NSDictionary)

[Foundation.Export("initWithTargetedCVPixelBuffer:options:")]
public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CVPixelBuffer, VNImageOptions)

public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
options
VNImageOptions

适用于

VNTargetedImageRequest(NSData, NSDictionary)

[Foundation.Export("initWithTargetedImageData:options:")]
public VNTargetedImageRequest (Foundation.NSData imageData, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : Foundation.NSData * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

imageData
NSData
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CVPixelBuffer, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedCVPixelBuffer:options:completionHandler:")]
public VNTargetedImageRequest (CoreVideo.CVPixelBuffer pixelBuffer, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreVideo.CVPixelBuffer * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

pixelBuffer
CVPixelBuffer
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(NSData, VNImageOptions)

public VNTargetedImageRequest (Foundation.NSData imageData, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : Foundation.NSData * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

imageData
NSData
options
VNImageOptions

适用于

VNTargetedImageRequest(NSUrl, VNImageOptions)

public VNTargetedImageRequest (Foundation.NSUrl imageUrl, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
options
VNImageOptions

适用于

VNTargetedImageRequest(CGImage, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedCGImage:options:completionHandler:")]
public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, NSDictionary)

[Foundation.Export("initWithTargetedCGImage:orientation:options:")]
public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CGImage, CGImagePropertyOrientation, VNImageOptions)

public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
options
VNImageOptions

适用于

VNTargetedImageRequest(CGImage, VNImageOptions, VNRequestCompletionHandler)

public VNTargetedImageRequest (CoreGraphics.CGImage cgImage, Vision.VNImageOptions options, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreGraphics.CGImage * Vision.VNImageOptions * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

cgImage
CGImage
options
VNImageOptions
completionHandler
VNRequestCompletionHandler

适用于

VNTargetedImageRequest(CIImage, NSDictionary, VNRequestCompletionHandler)

[Foundation.Export("initWithTargetedCIImage:options:completionHandler:")]
public VNTargetedImageRequest (CoreImage.CIImage ciImage, Foundation.NSDictionary optionsDict, Vision.VNRequestCompletionHandler completionHandler);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * Foundation.NSDictionary * Vision.VNRequestCompletionHandler -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
optionsDict
NSDictionary
completionHandler
VNRequestCompletionHandler

内容待定。

此参数可以为 null

属性

适用于

VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, NSDictionary)

[Foundation.Export("initWithTargetedCIImage:orientation:options:")]
public VNTargetedImageRequest (CoreImage.CIImage ciImage, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * ImageIO.CGImagePropertyOrientation * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
optionsDict
NSDictionary
属性

适用于

VNTargetedImageRequest(CIImage, CGImagePropertyOrientation, VNImageOptions)

public VNTargetedImageRequest (CoreImage.CIImage ciImage, ImageIO.CGImagePropertyOrientation orientation, Vision.VNImageOptions options);
new Vision.VNTargetedImageRequest : CoreImage.CIImage * ImageIO.CGImagePropertyOrientation * Vision.VNImageOptions -> Vision.VNTargetedImageRequest

参数

ciImage
CIImage
options
VNImageOptions

适用于

VNTargetedImageRequest(NSUrl, NSDictionary)

[Foundation.Export("initWithTargetedImageURL:options:")]
public VNTargetedImageRequest (Foundation.NSUrl imageUrl, Foundation.NSDictionary optionsDict);
new Vision.VNTargetedImageRequest : Foundation.NSUrl * Foundation.NSDictionary -> Vision.VNTargetedImageRequest

参数

imageUrl
NSUrl
optionsDict
NSDictionary
属性

适用于