Allows to register a text and obtain an object which encapsulates the contextual analysis methods to perform operations of data
extraction through the search patterns.
1 ocr
<ocr>
<ocr text /> +
</ocr>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eocr text | string |
Returns | |
---|---|
Type | Description |
OCRPageHandler | Returns the object OCRPageHandler which includes the functions of string analysis through a text. |
Example
Obtains the text through a HOCR document.
Copy
<xsql-script name='ocr'> <body> <set name='m_ocr_obj'> <ocr> <m_ocr_text /> </ocr> </set> </body> </xsql-script>