Skip to main content

Module coreml

Module coreml 

Source
Available on crate feature coreml only.
Expand description

CoreML inference via Vision (VNCoreMLModel, VNCoreMLRequest, and VNCoreMLFeatureValueObservation).

Structs§

CoreMLFeatureValueObservation
A dedicated VNCoreMLFeatureValueObservation wrapper.
CoreMLModel
A safe wrapper for VNCoreMLModel.
CoreMLRequest
A dedicated VNCoreMLRequest wrapper.

Enums§

CoreMLFeatureValue
A safe MLFeatureValue wrapper for VNCoreMLFeatureValueObservation.
CoreMLImageCropAndScaleOption
Mirrors VNImageCropAndScaleOption.

Functions§

coreml_classify_in_path
Run a Core ML classifier model on the image at path.
coreml_feature_value_in_path
Run a Core ML model that returns a feature value on the image at path.