TesseractMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
TesseractMBS class Deprecated
This item is deprecated and should no longer be used.
You can use
TessEngineMBS class instead.
The plugin class to provide OCR by using the tesseract open source library.
See example projects on how to use it.
- 2 properties
- 31 methods
- method Clear
- method ClearAdaptiveClassifier
- method Constructor
- method Constructor(folder as folderitem, lang as string)
- method Constructor(path as string, lang as string)
- method GetBoolVariable(name as string, byref value as boolean) as boolean
- method GetBoxText(page as Integer) as string
- method GetDoubleVariable(name as string, byref value as Double) as boolean
- method GetHOCRText(page as Integer) as string
- method GetIntVariable(name as string, byref value as Integer) as boolean
- method GetLastInitLanguage as string
- method GetStringVariable(name as string) as string
- method GetText as string
- method GetVariableAsString(name as string) as string
- method Init(folder as folderitem, lang as string)
- method Init(path as string, lang as string)
- method InitForAnalysePage
- method MeanTextConf as Integer
- method NumDawgs as Integer
- method PrintVariablesToStdErr
- method PrintVariablesToStdOut
- method Recognize as Integer
- method RecognizeMT as Integer
- method ResultIterator as TesseractResultIteratorMBS
- method SetImage(buffer as memoryblock, width as Integer, height as Integer, BytesPerPixel as Integer, BytesPerLine as Integer) as boolean
- method SetImage(Pic as Picture) as boolean
- method SetInputName(name as string)
- method SetOutputName(name as string)
- method SetRectangle(left as Integer, top as Integer, width as Integer, height as Integer)
- method SetResolution(Resolution as Integer)
- method SetVariable(name as string, value as string) as boolean
- shared method Version as string
- 11 constants
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
Release notes
The items on this page are in the following plugins: MBS OCR Plugin.
TesseractErrorExceptionMBS
-
TesseractNotInitializedExceptionMBS