OcrEngineMode Enumeration |
http://www.emgu.com
When Tesseract/LSTM is initialized we can choose to instantiate/load/run
only the Tesseract part, only the Cube part or both along with the combiner.
The preference of which engine to use is stored in tessedit_ocr_engine_mode.
Namespace:
Emgu.CV.OCR
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic enum OcrEngineMode
Public Enumeration OcrEngineMode
public enum class OcrEngineMode
Members
| Member name | Value | Description |
---|
| TesseractOnly | 0 |
Run Tesseract only - fastest
|
| LstmOnly | 1 |
Run just the LSTM line recognizer.
|
| TesseractLstmCombined | 2 |
Run the LSTM recognizer, but allow fallback to Tesseract when things get difficult.
|
| Default | 3 |
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.
|
See Also