共用方式為


VNCoreMLRequest.ImageCropAndScaleOption 屬性

定義

取得或設定影像的大小不符合模型的輸入期望時,應該如何調整影像。

public virtual Vision.VNImageCropAndScaleOption ImageCropAndScaleOption { [Foundation.Export("imageCropAndScaleOption", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setImageCropAndScaleOption:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.ImageCropAndScaleOption : Vision.VNImageCropAndScaleOption with get, set

屬性值

屬性

適用於