Platforms to show: All Mac Windows Linux Cross-Platform

Back to VNCoreMLModelMBS class.

VNCoreMLModelMBS.featureProvider as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
An optional object to support inputs outside Vision.

An MLFeatureProviderMBS object.

This optional object conforms to the MLFeatureProvider protocol that the model uses to predict inputs that are not supplied by Vision. Vision provides the MLModel with the image for the inputImageFeatureName via the VNRequestHandlerMBS.
A feature provider is necessary for models that have more than one required input. Models with only one image input won't use the feature provider.

Available on MacOS 10.15 or newer.
(Read only property)

VNCoreMLModelMBS.inputImageFeatureName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The name of the MLFeatureValueMBS that Vision sets from the request handler.

By default, Vision uses the first input found, but you can manually set that input to another featureName instead.
(Read and Write property)

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...