One Logo Pool Ball
Vision · IOS API REFERENCE

VNCoreMLRequest

class · iOS 11.0+ · SDK 27.1

class VNCoreMLRequest

Members (5)

init · iOS 11.0+

init

TypeScript
static initModel(model: VNCoreMLModel): VNCoreMLRequest
Swift declaration
convenience init(model: VNCoreMLModel)
init · iOS 11.0+

init

TypeScript
static initModelCompletionHandler(model: VNCoreMLModel, completionHandler?: (((arg0: VNRequest, arg1: (NativeError) | null) => void)) | null): VNCoreMLRequest
Swift declaration
init(model: VNCoreMLModel, completionHandler: VNRequestCompletionHandler? = nil)
get · iOS 11.0+

imageCropAndScaleOption

TypeScript
get imageCropAndScaleOption(): VNImageCropAndScaleOption
Swift declaration
var imageCropAndScaleOption: VNImageCropAndScaleOption { get set }
set · iOS 11.0+

imageCropAndScaleOption

TypeScript
set imageCropAndScaleOption(value: VNImageCropAndScaleOption)
Swift declaration
var imageCropAndScaleOption: VNImageCropAndScaleOption { get set }
get · iOS 11.0+

model

TypeScript
get model(): VNCoreMLModel
Swift declaration
var model: VNCoreMLModel { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

VNCoreMLRequest.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All Vision types →