Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Vision.ClassifyImage

Classifies content of image.

Component Version macOS Windows Linux Server iOS SDK
Vision 9.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "Vision.ClassifyImage"; Image { ; Best } )   More

Parameters

Parameter Description Example Flags
Image The image to analyze.
Can be container value with JPEG, PNG or other image formats supported by Vision framework.
$image
Best Whether to return only identifier of best.
Default is 1.
If you pass 0, you get back JSON with all classifications and their confidence.
1 Optional

Result

Returns text or error.

Description

Classifies content of image.
Requires MacOS 10.15 or iOS 13.0 or newer.

If you like to use your own CoreML model, please try our own CoreML functions.

Examples

Classify image in container:

Set Field [ Vision::Result ; MBS( "Vision.ClassifyImage"; Vision::Image) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2019, last changed 19th August 2019


VersionAutoUpdate - Vision.DetectBarcode