Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

OCR.GetHOCRText

Make a HTML-formatted string with hOCR markup from the internal data structures.

Component Version macOS Windows Linux Server iOS SDK
OCR 2.9 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "OCR.GetHOCRText" { ; page } )   More

Parameters

Parameter Description Example Flags
page The page index you want to use in html. Default value is 0. 0 Optional

Result

Returns the text.

Description

Make a HTML-formatted string with hOCR markup from the internal data structures.
Page is 0-based but will appear in the output as 1-based.

Examples

Queries text of first page:

$text = MBS( "OCR.GetHOCRText"; 0 )

See also

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


OCR.GetBoxText - OCR.GetPageSegMode

💬 Ask a question or report a problem