API Reference

Important validation response field is the info code field that contains further information what should the user do to improve image quality

Validation info codes comprise of the following codes:

  • 0001 - Error occured, check errors list
  • 1000 - Image is valid.
  • 1001 - Image too blurry. Please focus your camera.
  • 1002 - Cannot detect document, all four corners of the document should be visible.
  • 1003 - Document not present.
  • 1004 - Captured document is at an angle. Please correct the document angle.
  • 1005 - Captured document is too small. Please move it closer to the camera.
  • 1006 - Document not supported.
  • 1007 - Image is valid, but the document has a back side that should be validated.
  • 1008 - Background color is too similar to the color of the document.
  • 1009 - Waiting for camera to focus
  • 1010 - Low image quality detected, keep the camera stable

These codes depict important actions that the user can perform in order to pass validation and improve both image and extraction quality. These should be implemented on the front-end and should be clearly displayed to the user so that he can perform real-time corrections.