Issue:
How can I set the glare threshold in the Document Reader Android SDK?
Solution:
To configure the glare threshold in the Document Reader Android SDK, please follow the steps below:
- Pay attention to the following parameters:
imgMarginPart: This parameter determines the margin from the image border.
maxGlaringPart: This parameter sets the maximum allowed percentage of the area covered by glare. - These parameters are available with glaresCheckParams. You can access the glaresCheckParams through DocumentReader.Instance().processParams().imageQA.glaresCheckParams.
- Configure the glare threshold:
Use the imgMarginPart and maxGlaringPart parameters to adjust the glare threshold to your desired values.
You can find more details at our development support portal.
Comments
Please sign in to leave a comment.