setAcceptedBrightnessThreshold

abstract fun setAcceptedBrightnessThreshold(acceptedBrightnessThreshold: Double)

The brightness threshold to accept a detected document in the range of 0 (very dark) to 255 (very bright). If the average brightness value of the detectors input image is below this value, the status of the detection will be set to ERROR_TOO_DARK. Default is 50.