public class OCROptions extends Object
Constructor and Description |
---|
OCROptions()
Constructs a default OCROptions object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDeskew()
Returns the flag to deskew the image before performing OCR.
|
boolean |
isDiscardInvisibleText()
Returns the flag to discard invisible text in the document before
performing OCR.
|
void |
setDeskew(boolean deskew)
Sets the flag to deskew the image before performing OCR.
|
void |
setDiscardInvisibleText(boolean discard)
Sets the flag to discard invisible text in the document before performing
OCR.
|
public void setDeskew(boolean deskew)
deskew
- The new value of the deskew flag.public boolean isDeskew()
public void setDiscardInvisibleText(boolean discard)
discard
- The new value of the discard invisible text flag.public boolean isDiscardInvisibleText()