public class OcrIndexingOptions extends Object
Provides options for OCR processing and indexing recognized text.
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabledForEmbeddedImages()
Gets a value indicating whether to recognize text in embedded images.
|
boolean |
getEnabledForSeparateImages()
Gets a value indicating whether to recognize text in separate image files.
|
IOcrConnector |
getOcrConnector()
Gets an OCR connector that is used for OCR processing.
|
void |
setEnabledForEmbeddedImages(boolean value)
Sets a value indicating whether to recognize text in embedded images.
|
void |
setEnabledForSeparateImages(boolean value)
Sets a value indicating whether to recognize text in separate image files.
|
void |
setOcrConnector(IOcrConnector value)
Sets an OCR connector that is used for OCR processing.
|
public final boolean getEnabledForSeparateImages()
Gets a value indicating whether to recognize text in separate image files.
The default value is false
.
public final void setEnabledForSeparateImages(boolean value)
Sets a value indicating whether to recognize text in separate image files.
The default value is false
.
value
- A value indicating whether to recognize text in separate image files.public final boolean getEnabledForEmbeddedImages()
Gets a value indicating whether to recognize text in embedded images.
The default value is false
.
public final void setEnabledForEmbeddedImages(boolean value)
Sets a value indicating whether to recognize text in embedded images.
The default value is false
.
value
- A value indicating whether to recognize text in embedded images.public final IOcrConnector getOcrConnector()
Gets an OCR connector that is used for OCR processing.
The default value is null
, which means no OCR is used.
public final void setOcrConnector(IOcrConnector value)
Sets an OCR connector that is used for OCR processing.
The default value is null
, which means no OCR is used.
value
- An OCR connector that is used for OCR processing.