Skip to content

Troubleshoot

Dino Gustin edited this page Jun 13, 2018 · 12 revisions

Troubleshoot

While scanning, I get Required parser 'X' from parser group 'Y' did not produce result! in my app logs

This is not an error - this is merely a debug message informing you, as the developer, that parser X did not succeed while processing the current camera frame. This can happen due to:

  • poor camera frame (out of focus, poor light, glare)
    • message appears now and then while moving the camera frame
    • this is common behavior given the camera frame quality, focus the camera and scan in better light conditions
  • incorrect regex
    • message appears constantly, even with a high-quality camera frame
    • check and fix your parser regex and keep im mind that some features, like back references, match grouping and certain regex metacharacters are not supported. See documentation for more info
  • incorrect OCR engine settings
    • message appears constantly, even with a high-quality camera frame
    • check that all letters that are referenced in your regular expression are added to whitelist
  • if using Tmeplating API:
    • if message appears often:
      • check the relative positions of your DecodingInfos as they might be offset
    • if message appears occasionally:
      • document detection has failed for the current video frame due to a poor camera frame, or document part that needs to be extracted is covered with glare
Clone this wiki locally