Skip to content

Image Quality

  • Set the threshold for an actual document DPI below which the check fails:
DocumentReader.Instance().ProcessParams().ImageQA.DpiThreshold = (Java.Lang.Integer)150;
RGLDocReader.Shared.ProcessParams.ImageQA.DpiThreshold = 150;
  • Set the threshold for an actual document perspective angle above which the check fails:
DocumentReader.Instance().ProcessParams().ImageQA.AngleThreshold = (Java.Lang.Integer)5;
RGLDocReader.Shared.ProcessParams.ImageQA.AngleThreshold = 5;
  • Disable / enable the focus check for the image quality validation:
DocumentReader.Instance().ProcessParams().ImageQA.FocusCheck = (Java.Lang.Boolean)true;
RGLDocReader.Shared.ProcessParams.ImageQA.FocusCheck = true;
  • Disable / enable the glares check for the image quality validation:
DocumentReader.Instance().ProcessParams().ImageQA.GlaresCheck = (Java.Lang.Boolean)true;
RGLDocReader.Shared.ProcessParams.ImageQA.GlaresCheck = true;
  • Disable / enable the colorness check for the image quality validation:
DocumentReader.Instance().ProcessParams().ImageQA.ColornessCheck = (Java.Lang.Boolean)true;
RGLDocReader.Shared.ProcessParams.ImageQA.ColornessCheck = true;
  • Disable / enable the moire patterns check for the image quality validation:
DocumentReader.Instance().ProcessParams().ImageQA.MoireCheck = (Java.Lang.Boolean)true;
RGLDocReader.Shared.ProcessParams.ImageQA.MoireCheck = true;
  • This option controls the quality checks that the image should pass to be considered a valid input during the scanning process.
DocumentReader.Instance().ProcessParams().ImageQA.ExpectedPass = new int[] { EImageQualityCheckType.IqcImageResolution, EImageQualityCheckType.IqcImageGlares};

Next Steps