Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
8.2
8.3
8.4
8.5
9.0
9.1
9.2
9.3
9.4
9.5
Statistic
Vision.ClassifyImage
Classifies content of image.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Vision | 9.4 | Yes | No | Yes, macOS only | No | Yes |
MBS( "Vision.ClassifyImage"; Image { ; Best } ) More
Parameters
Parameter | Description | Example value |
---|---|---|
Image | The image to analyze. Can be container value with JPEG, PNG or other image formats supported by Vision framework. |
$image |
Best | Optional 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 |
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
Example Databases
Blog Entries
Created 18th August 2019, last changed 19th August 2019
VersionAutoUpdate - Vision.DetectBarcode
Feedback: Report problem or ask question.

Links
MBS Xojo Plugins