Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Loads newer tesseract engine.

Component Version macOS Windows Linux Server iOS SDK
OCR 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "OCR.Load"; Path )   More


Parameter Description Example
Path The native path to the library.


Returns OK or error.


Loads newer tesseract engine.
You can load here a version of tesseract 4 or 5.
You may first need to load leptonica library via this function and then the tesseract library, if it is not in the same library file.


Load it on Linux:

// please install tesseract library, so plugin can load it:
// sudo apt-get install libtesseract4

MBS( "OCR.Load"; "" ) &
MBS( "OCR.Load"; "" )

Load it on macOS with our library:

// for macOS, please download from our website
// 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.

MBS("Process.SetCurrentDirectory"; "C:\Program Files\Tesseract-OCR") &
MBS( "OCR.Load"; "liblept-5.dll" ) &
MBS( "OCR.Load"; "libtesseract-4.dll" )

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 20th June 2021, last changed 4th March 2024

OCR.Language - OCR.MeanTextConf