VNCoreMLRequest.ImageCropAndScaleOption 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置图像大小与模型输入预期不匹配时应如何缩放图像。
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
属性值
- 属性