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
- Version 10.5
- Fixed memory leaks in BinaryFile.WriteContainer, Container.ReadImage, Vision.ClassifyImage, Vision.DetectBarcode and Vision.RecognizeText functions.
Example Databases
Blog Entries
- Rectify document rectangle in images in FileMaker
- MBS Plugin Advent calendar: 2 - Vision
- MBS FileMaker Plugin, version 10.5pr7
- Neue Funktionen des MBS FileMaker Plugin 9.4
- Vision Framework for FileMaker
This function checks for a license.
Created 18th August 2019, last changed 19th August 2019