recognize_text_areas method
Leave feedback
On this page
Recognize text areas from image_stream stream.
A collection of PageTextArea objects; null if text areas recognizing isn’t supported.
def recognize_text_areas(self, image_stream, page_size, options):
...
| Parameter | Type | Description |
|---|---|---|
| image_stream | io.RawIOBase | The image representation of the document page. |
| page_size | groupdocs.parser.data.Size | The size of the document page. |
| options | groupdocs.parser.options.OcrOptions | The OCR options. |
Recognize text areas from image_stream stream.
A collection of PageTextArea objects; null if text areas recognizing isn’t supported.
def recognize_text_areas(self, image_stream, page, options):
...
| Parameter | Type | Description |
|---|---|---|
| image_stream | io.RawIOBase | The image representation of the document page. |
| page | groupdocs.parser.data.Page | The the document page. |
| options | groupdocs.parser.options.OcrOptions | The OCR options. |
Recognize text areas from image_stream stream.
A collection of PageTextArea objects; null if text areas recognizing isn’t supported.
def recognize_text_areas(self, image_stream, page_index, page_size, options):
...
| Parameter | Type | Description |
|---|---|---|
| image_stream | io.RawIOBase | The image representation of the document page. |
| page_index | int | The page index of the document. |
| page_size | groupdocs.parser.data.Size | The size of the document page. |
| options | groupdocs.parser.options.OcrOptions | The OCR options. |
def recognize_text_areas(self, image_stream, rectangles, allowed_symbols, page, options):
...
| Parameter | Type | Description |
|---|---|---|
| image_stream | io.RawIOBase | |
| rectangles | list | |
| allowed_symbols | System.String | |
| page | groupdocs.parser.data.Page | |
| options | groupdocs.parser.options.OcrOptions |
- module
groupdocs.parser.options - class
OcrConnectorBase - class
PageTextArea
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.