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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Loads newer tesseract engine.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
OCR | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native path to the library. |
Returns OK or error.
Load it on Linux:
// please install tesseract library, so plugin can load it:
// sudo apt-get install libtesseract4
MBS( "OCR.Load"; "liblept.so.5" ) &
MBS( "OCR.Load"; "libtesseract.so.4" )
Load it on macOS with our library:
// for macOS, please download from our website
// https://www.monkeybreadsoftware.com/filemaker/files/Libs/
// which includes leptonica library!
MBS("OCR.Load"; "/Users/cs/Tesseract/tesseract4/tesseract.dylib")
Load it on macOS with homebrew:
// install via homebrew
// brew install tesseract-lang
MBS( "OCR.Load"; "/opt/homebrew/lib/liblept.5.dylib" ) &
MBS( "OCR.Load"; "/opt/homebrew/lib/libtesseract.4.dylib" )
Load it on Windows:
// get Windows DLL somewhere
// e.g. https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v4.1.0-bibtag19.exe
MBS("Process.SetCurrentDirectory"; "C:\Program Files\Tesseract-OCR") &
MBS( "OCR.Load"; "liblept-5.dll" ) &
MBS( "OCR.Load"; "libtesseract-4.dll" )
This function checks for a license.
Created 20th June 2021, last changed 4th March 2023