Platforms to show: All Mac Windows Linux Cross-Platform

Back to TessEngineMBS class.

TessEngineMBS.DeadlineMSecs as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The deadline in milliseconds.

(Read and Write property)

TessEngineMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read and Write property)

TessEngineMBS.InitLanguagesAsString as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the languages string used in the last valid initialization.
Example
Dim OCR As TessEngineMBS // your instance of tesseract

MsgBox OCR.InitLanguagesAsString

If the last initialization specified "deu+hin" then that will be returned. If hin loaded eng automatically as well, then that will not be included in this list. To find the languages actually loaded use GetLoadedLanguages function.
(Read only property)

TessEngineMBS.InputImage as Picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries input image for debugging.

(Read only property)

TessEngineMBS.InputName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The name of the input file.

Needed for training and reading a UNLV zone file, and for searchable PDF output.
(Read and Write property)

TessEngineMBS.MeanTextConf as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the (average) confidence value between 0 and 100.

(Read only property)

TessEngineMBS.PageSegMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The current page segmentation mode.
Example
Dim OCR As TessEngineMBS // your instance of tesseract

OCR.PageSegMode = OCR.kPageSegModeAuto

Defaults to kPageSegModeSingleBlock.
The mode is stored as an IntParam so it can also be modified by ReadConfigFile or SetVariable("tessedit_pageseg_mode", mode as string).
(Read and Write property)

TessEngineMBS.Resolution as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The resolution of the source image in pixels per inch so font size information can be calculated in results.

Call this after SetImage functions.
(Read and Write property)

TessEngineMBS.ThresholdedImage as Picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get a copy of the internal thresholded image from Tesseract.

(Read only property)

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


The biggest plugin in space...