Table of Contents

TMS FNC WX OCR — Guides

Recognising text

Call RecognizeFromFile with a local image path. The recognition runs asynchronously; handle OnFinished to receive the TTMSFNCWXOCRResult when processing is complete.

Processing results

TTMSFNCWXOCRResult contains a hierarchy: paragraphs contain lines, lines contain words. Each word carries a TTMSFNCWXOCRBbox with pixel coordinates.

Tracking progress

Assign OnProgress to receive TTMSFNCWXOCRProgress updates during a long recognition run. The progress value indicates how much of the image has been processed.

Error handling

Assign OnError to receive TTMSFNCWXOCRErrorEvent notifications when the engine fails, for example if the image cannot be loaded or the recognition library is unavailable.

See also