When Tesseract/Cube 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.OCR (in Emgu.CV.OCR.dll) Version: (


public enum OcrEngineMode
Visual Basic
Public Enumeration OcrEngineMode
Visual C++
public enum class OcrEngineMode
type OcrEngineMode


Member nameValueDescription
OEM_TESSERACT_ONLY0 Run Tesseract only - fastest
OEM_CUBE_ONLY1 Run Cube only - better accuracy, but slower
OEM_TESSERACT_CUBE_COMBINED2 Run both and combine results - best accuracy
OEM_DEFAULT3 Specify this mode to indicate that any of the above modes should be automatically inferred from the variables in the language-specific config, or if not specified in any of the above should be set to the default OEM_TESSERACT_ONLY.

See Also