VNImageOptionCIContext

Static VNImageOptionCIContext 

Source
pub unsafe static VNImageOptionCIContext: &'static VNImageOption
Available on crate feature VNRequestHandler only.
Expand description

VNImageOptionCIContext Specifies the CIContext to be used in Core Image operations of request handler. If this is not specified, Vision will create its own CIContext. This option is helpful when the passed in CIImage is the result of a CIFilter chain that has been executed on a CIContext or uses outputs of a CIImage on a given CIContext as they don’t have to transfer to other contexts.

See also Apple’s documentation