Declaration
TIEVisionOCREngine = (
ievOCRLegacy, // Legacy engine only
ievOCRLTSM, // Neural nets LSTM engine only
ievOCRLTSMAndLegacy, // Legacy + LSTM engines
ievOCRDefault // Default, based on what is available
);
Description
The engine(s) used for OCR recognition:
Type | Description |
ievOCRLegacy | Uses the older engine (from IEVision 4.5.2 and older) |
ievOCRLTSM | Uses the new LTSM OCR engine (faster and more accurate than Legacy) |
ievOCRLTSMAndLegacy | Uses either LTSM or Legacy |
ievOCRDefault | Uses LTSM if newer TrainedData files are available, otherwise falls back to Legacy |
Generally, this should remain as ievOCRDefault, which uses the engine available. Do NOT use ievOCRLegacy or ievOCRLTSMAndLegacy unless you are using the legacy engine files.
OCR files are available from:
https://www.imageen.com/download/
LTSM should always be used, providing significant speed and accuracy benefits:
https://github.com/tesseract-ocr/tesseract/wiki/4.0-Accuracy-and-Performance
OCR files are available for many languages on the ImageEn download page, supporting either LTSM only, or LTSM + Legacy