glareDetectionLevel property
The level of glare detection in the document image.
Defines the severity of glare detected in the document image, as defined in DetectionLevel.
Values range from off
(detection NotAvailable) to higher levels of glare detection.
low
– less sensitive to glare; if something is detected as glare, it is almost certainly actual glare,
but some amount of glare may not be detected at all.
high
– highly sensitive to glare; it may detect as glare even something that only resembles glare.
Default: DetectionLevel.mid
Implementation
DetectionLevel glareDetectionLevel = DetectionLevel.mid;