Configuring Glare Threshold in Document Reader Android SDK

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:

  1. 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.
  2. These parameters are available with glaresCheckParams. You can access the glaresCheckParams through DocumentReader.Instance().processParams().imageQA.glaresCheckParams.
  3. 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.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more