Platforms to show: All Mac Windows Linux Cross-Platform

Back to TessEngineMBS class.

TessEngineMBS.kOcrEngineModeDefault = 3

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the OCR engine modes.

Specify this mode when calling init_*(), to indicate that any of the above modes should be automatically inferred from the variables in the language-specific config, command-line configs, or if not specified in any of the above should be set to the default kOcrEngineModeTesseractOnly.

TessEngineMBS.kOcrEngineModeLstmOnly = 1

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the OCR engine modes.

Run just the LSTM line recognizer.

TessEngineMBS.kOcrEngineModeTesseractLstmCombined = 2

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the OCR engine modes.

Run the LSTM recognizer, but allow fallback to Tesseract when things get difficult. deprecated

TessEngineMBS.kOcrEngineModeTesseractOnly = 0

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the OCR engine modes.

Run Tesseract only - fastest; deprecated

TessEngineMBS.kPageSegModeAuto = 3

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Fully automatic page segmentation, but no OSD.

TessEngineMBS.kPageSegModeAutoOnly = 2

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Automatic page segmentation, but no OSD, or OCR.

TessEngineMBS.kPageSegModeAutoOsd = 1

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Automatic page segmentation with orientation and script detection. (OSD)

TessEngineMBS.kPageSegModeCircleWord = 9

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Treat the image as a single word in a circle.

TessEngineMBS.kPageSegModeOsdOnly = 0

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Orientation and script detection only.

TessEngineMBS.kPageSegModeRawLine = 13

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Treat the image as a single text line, bypassing hacks that are Tesseract-specific.

TessEngineMBS.kPageSegModeSingleBlock = 6

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Assume a single uniform block of text. (Default.)

TessEngineMBS.kPageSegModeSingleBlockVertText = 5

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Assume a single uniform block of vertically aligned text.

TessEngineMBS.kPageSegModeSingleChar = 10

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Treat the image as a single character.

TessEngineMBS.kPageSegModeSingleColumn = 4

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Assume a single column of text of variable sizes.

TessEngineMBS.kPageSegModeSingleLine = 7

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Treat the image as a single text line.

TessEngineMBS.kPageSegModeSingleWord = 8

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Treat the image as a single word.

TessEngineMBS.kPageSegModeSparseText = 11

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Find as much text as possible in no particular order.

TessEngineMBS.kPageSegModeSparseTextOsd = 12

Type Topic Plugin Version
const OCR MBS OCR Plugin 21.3
One of the page layout modes.

Sparse text with orientation and script det.

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


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