Type Alias

VNImageOption

An option key passed into VNImageRequestHandler creations or requests that take an auxiliary image.

Declaration

typedef NSString *VNImageOption;

Discussion

Pass an option key into the VNImageRequestHandler instance on creation or request. Option keys are used to describe specific properties of an image or specify how an image needs to be handled.

Topics

Options Dictionary Keys

VNImageOptionProperties

The dictionary from CGImageSourceCopyPropertiesAtIndex containing metadata for algorithms like horizon detection.

VNImageOptionCameraIntrinsics

An option to specify the camera intrinstics as an NSData or CFDataRef object representing a matrix_float3x3.

VNImageOptionCIContext

An option key to specify the CIContext to be used in the handler's Core Image operations.