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: 11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0    Statistic    FMM    Blog  

Vision.RecognizeText

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; PageLimit } )   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
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
PageLimit Available in MBS FileMaker Plugin 12.3 or newer.
The maximum page count allowed for PDF pages.
Default is 1 to only look on first page.
It is highly recommended to use a limit to only get text from first n pages due to the time it takes to render pages and recognize text.
Pass 0 for no limit.
1 Optional

Result

Returns list or error.

Description

Recognizes text.
Requires MacOS 10.15 or iOS 13.0 or newer. This is what LiveText is about.

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

Added PDF support for plugin version 12.3. PDF pages can be now be rendered and run through recognition.
For PDF files, you may also check PDFKit.GetPDFPageText and PDFKit.GetPDFText to extract text directly.

Examples

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 16th June 2022


Vision.KnownClassifications - Vision.SupportedRecognitionLanguages

Feedback: Report problem or ask question.


Start Chat