public interface GlareDetectorOptions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME |
Modifier and Type | Method and Description |
---|---|
void |
setDetectGlare(boolean detectGlare)
Defines whether glare detector will be used during recognition process.
|
boolean |
shouldDetectGlare()
Returns whether glare detector is enabled.
|
@NonNull static final java.lang.String CLASS_NAME
void setDetectGlare(boolean detectGlare)
true
and glare detector is used. If the glare detector is used and
GlareCallback
is set to MetadataCallbacks
,
it will receive glare status will. Also when glare is detected OCR will not be performed on
the affected document position to prevent errors in the extracted data.
By default, this is set to 'true'.detectGlare
- whether glare detector will be used during recognition process.boolean shouldDetectGlare()
true
, otherwise returns false
.