Getting started with TMS FNC WX OCR
Prerequisites
- TMS FNC Core installed and the runtime package added to the project.
- TMS FNC WX Pack installed.
Add the component
- Drop
TTMSFNCWXOCR from the component palette onto a form (non-visual).
- Assign
OnFinished to receive the recognition result.
- Assign
OnProgress to track recognition progress.
Recognise text from a file
Inline example 1PascalC++{ In a button's OnClick handler: }
OCR1.RecognizeFromFile('C:\Images\document.png');
// In a button's OnClick handler:
OCR1->RecognizeFromFile(L"C:\\Images\\document.png");
Next steps
- Guides — result structure, progress events, and error handling.
- API reference — full class reference.