MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

TesseractMBS class

class, OCR, MBS OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

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

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

TesseractErrorExceptionMBS   -   TesseractNotInitializedExceptionMBS

MBS Xojo Chart Plugins