recognize_text_areas method
Contents
[
Hide
]
recognize_text_areas
Recognize text areas from image_stream stream.
Returns
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
Recognize text areas from image_stream stream.
Returns
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
Recognize text areas from image_stream stream.
Returns
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. |
recognize_text_areas
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 |
See Also
- module
groupdocs.parser.options - class
OcrConnectorBase - class
PageTextArea