Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

TesseractMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class OCR MBS OCR Plugin 12.3 Yes Yes Yes Yes No
Function: The plugin class to provide OCR by using the tesseract open source library.
Notes: See example projects on how to use it.

Feedback, Comments & Corrections

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 which use this class:


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


TesseractErrorExceptionMBS   -   TesseractNotInitializedExceptionMBS




Links
MBS Xojo Plugins