GetOCRReadingOrderJSON
OCR and text recognition
Description
Return the ordered JSON list of recognised OCR words, bounding boxes and text directions attached to a page
Syntax
Delphi
Function TPDFlib.GetOCRReadingOrderJSON(Page: Integer): WideString;
Parameters
| Page | 1-based page number in the selected document |
|---|
Return values
Returns a JSON object describing the logical reading order, word bounding boxes, and writing directions (ltr or rtl) recorded for the specified page.
Remarks
Reflects provider reading order from hOCR or explicit OCR JSON word lists applied via OCRPageEx or OCRDocumentEx.