編集

次の方法で共有


VNImageBasedRequest.RegionOfInterest Property

Definition

Gets or sets the area in the image in which to search. Rectangle uses normalized coordinates.

public virtual CoreGraphics.CGRect RegionOfInterest { [Foundation.Export("regionOfInterest", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setRegionOfInterest:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.RegionOfInterest : CoreGraphics.CGRect with get, set

Property Value

The default value is a rectangle with origin [0,0] and size [1,1].

Attributes

Remarks

As with other areas in the Vision namespace, the CGRect uses normalized coordinates (values in the range 0..1).

Applies to