| Package | Description |
|---|---|
| com.groupdocs.parser.options |
The package provides classes to specify additional options when parsing data from documents.
|
| Modifier and Type | Method and Description |
|---|---|
OcrOptions |
GenerateTemplateOptions.getOcrOptions()
Gets the OCR options used while generating adjustment fields.
|
OcrOptions |
PageTextAreaOptions.getOcrOptions()
Gets the additional options for OCR functionality.
|
OcrOptions |
ParseByTemplateOptions.getOcrOptions()
Gets the OCR options.
|
OcrOptions |
TextOptions.getOcrOptions()
Gets the additional options for OCR functionality.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OcrConnectorBase.recognizeText(InputStream imageStream,
int pageIndex,
OcrOptions options)
Deprecated.
OCR Connector doesn't support the page extraction. By default, pageIndex is ignored.
|
String |
OcrConnectorBase.recognizeText(InputStream imageStream,
OcrOptions options)
Recognize a text from
imageStream stream. |
Iterable<PageTextArea> |
OcrConnectorBase.recognizeTextAreas(InputStream imageStream,
int pageIndex,
Size pageSize,
OcrOptions options)
Deprecated.
OCR Connector doesn't support the page extraction. By default, pageIndex is ignored.
|
Iterable<PageTextArea> |
OcrConnectorBase.recognizeTextAreas(InputStream imageStream,
Size pageSize,
OcrOptions options)
Recognize text areas from
imageStream stream. |
void |
GenerateTemplateOptions.setOcrOptions(OcrOptions ocrOptions)
Sets the OCR options used while generating adjustment fields.
|
void |
ParseByTemplateOptions.setOcrOptions(OcrOptions ocrOptions)
Sets the OCR options.
|
| Constructor and Description |
|---|
GenerateTemplateOptions(OcrOptions ocrOptions)
Initializes a new instance of the
GenerateTemplateOptions class. |
PageTextAreaOptions(boolean useOcr,
OcrOptions ocrOptions)
Initializes a new instance of the
TextOptions class with the ability to set OCR options. |
ParseByTemplateOptions(boolean useOcr,
OcrOptions ocrOptions)
Initializes a new instance of the
ParseByTemplateOptions class. |
ParseByTemplateOptions(Integer pageIndex,
boolean useOcr,
OcrOptions ocrOptions)
Initializes a new instance of the
ParseByTemplateOptions class. |
TextOptions(boolean useRawModeIfPossible,
boolean useOcr,
OcrOptions ocrOptions)
Initializes a new instance of the
TextOptions class with the ability to set OCR options. |
Copyright © 2026. All rights reserved.