Interface GlareDetectorOptions

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CLASS_NAME  
    • Method Detail

      • setDetectGlare

        void setDetectGlare​(boolean detectGlare)
        Defines whether glare detector will be used during recognition process. By default this option is set to 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'.
        Parameters:
        detectGlare - whether glare detector will be used during recognition process.
      • shouldDetectGlare

        boolean shouldDetectGlare()
        Returns whether glare detector is enabled. By default, this is set to 'true'.
        Returns:
        it the glare detector is enabled returns true, otherwise returns false.