Platforms to show: All Mac Windows Linux Cross-Platform

TesseractMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class OCR MBS OCR Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used. You can use TessEngineMBS class instead.
Function: The plugin class to provide OCR by using the tesseract open source library.
Notes: See example projects on how to use it.

Page Segmentation Constants

Constant Value Description
kPageSegModeAuto 3 Fully automatic page segmentation, but no OSD.
kPageSegModeAutoOnly 2 Automatic page segmentation, but no OSD, or OCR.
kPageSegModeAutoOSD 1 Automatic page segmentation with orientation and script detection. (OSD)
kPageSegModeCircleWord 9 Treat the image as a single word in a circle.
kPageSegModeOSDOnly 0 Orientation and script detection only.
kPageSegModeSingleBlock 6 Assume a single uniform block of text. (Default.)
kPageSegModeSingleBlockVerticalText 5 Assume a single uniform block of vertically aligned text.
kPageSegModeSingleChar 10 Treat the image as a single character.
kPageSegModeSingleColumn 4 Assume a single column of text of variable sizes.
kPageSegModeSingleLine 7 Treat the image as a single text line.
kPageSegModeSingleWord 8 Treat the image as a single word.

This class has no sub classes.

Some properties using for this class:

Some examples using this class:

Blog Entries

The items on this page are in the following plugins: MBS OCR Plugin.

TesseractErrorExceptionMBS   -   TesseractNotInitializedExceptionMBS

💬 Ask a question or report a problem
The biggest plugin in space...