Click or drag to resize

OcrEngineMode Enumeration

Represents ocr engine mode

Namespace: Patagames.Ocr.Enums
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
Syntax
public enum OcrEngineMode
Members
Member nameValueDescription
OEM_TESSERACT_ONLY0 Run Tesseract only - fastest; deprecated.
OEM_LSTM_ONLY1 Run just the LSTM line recognizer.
OEM_TESSERACT_LSTM_COMBINED2 Run the LSTM recognizer, but allow fallback to Tesseract when things get difficult; deprecated.
OEM_DEFAULT3 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 OEM_TESSERACT_ONLY.
Remarks
When Tesseract is initialized we can choose to instantiate/load/run only the Tesseract part, only the LSTM part or both along with the combiner. The preference of which engine to use is stored in tessedit_ocr_engine_mode.
See Also