Skip to content

Prepare Identity Document Images for Document Reader SDK Processing

Info

The developed intelligent system is not able to overcome the laws of physics and works exclusively within its capabilities.

Below are the requirements for size and quality of document images captured by any device. They are necessary for successful image processing by Document Reader SDK.

Good Lighting

Good lighting helps to achieve better OCR results. If the image is too dark or too bright, the document might not be processed successfully.

Identity document captured with insufficient lighting

Avoid Reflections

Glares and reflections interfere with processing and reduce data extraction accuracy. We recommend not to use the flash of your mobile device when capturing document images.

Identity document image with reflections that should be avoided

Focus and Sharpness

Make sure the image is clear and there are no blurred areas.

Identity document image without focus

Angle

The tilt angle of the document should not exceed 10 degrees in any direction (horizontal or vertical).

Identity document captured at the wrong angle

Margins

  • Make sure there is minimal space around the document. It is recommended that the document takes up 70-80% of the image.

Identity document image without margins

  • Make sure the space around the document does not take up more than 20-30% of the image. It is recommended that the document takes up 70-80% of the image.

Identity document image with margins that are too large

Contrast

The document should be in clear contrast to the background. A light-colored document on a light background, as well as a dark-colored document on a dark background, might not be recognized.

Identity document image with insufficient contrast

Image Resolution

To achieve a good quality of recognition of identification documents, we recommend that you provide images captured by a camera with a resolution of at least Full HD (1920×1080) and autofocus.

Comparison of acceptable and unacceptable document image quality

Extraneous objects

Make sure your hands or other objects do not cover document data.

Extraneous objects obstructing an identity document

Avoid Distortion

When scanning the passport, ensure the pages are aligned properly and all details are clearly visible.

Identity document perspective distortion that should be avoided

Next Steps