Ocr |
| Member name | Value | Description |
|---|---|---|
| OEM_TESSERACT_ONLY | 0 | Run Tesseract only - fastest; deprecated. |
| OEM_LSTM_ONLY | 1 | Run just the LSTM line recognizer. |
| OEM_TESSERACT_LSTM_COMBINED | 2 | Run the LSTM recognizer, but allow fallback to Tesseract when things get difficult; deprecated. |
| OEM_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. |