Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  


Recognizes text.

Component Version macOS Windows Linux Server iOS SDK
Vision 9.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "Vision.RecognizeText"; Image { ; Recognition Levels; Languages; CustomWords } )   More


Parameter Description Example Flags
Image The image to analyze.
Can be container value with JPEG, PNG or other image formats supported by Vision framework.
Recognition Levels Can be "Fast" or "Accurate". "Accurate" Optional
Languages Specify the languages used for the detection.
The order of the languages in the array defines the order in which languages will be used during the language processing.
The languages are specified as ISO language codes.
"en_US" Optional
CustomWords An array of strings that will be used at the word recognition stage in addition to the recognition languages. The customWords list takes precedence over the standard lexicon. "FileMaker¶Claris" Optional


Returns list or error.


Recognizes text.
Requires MacOS 10.15 or iOS 13.0 or newer.

If you need cross platform text recognition, please check our OCR functions.


Recognize text:

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

See also

Release notes

Example Databases

Blog Entries

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

Vision.KnownClassifications - Vision.SupportedRecognitionLanguages

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins

Start Chat