> For the complete documentation index, see [llms.txt](https://api-old.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-old.innov8tif.com/okayid-lite/image-requirements.md).

# Image Requirements

## Requirements for Images

Below are the requirements for size and quality of document images captured by any device, which are necessary for successful image processing by OkayID Lite:

* Document should be fully inside the image;
* Document should take 70 - 80% of the image area;
* Document should not be stuck to image edges;
* Image should be in focus in the document area;
* There should be no glares or significant shadow on the document;
* The background should be as contrast as possible, avoid capturing white on white, and dark on dark;
* Good lighting helps to achieve better results. If the image is too dark or too bright, the document can not be processed.
* **Image Resolution:**
  * **Maximum: 3000 x 1500**
  * **Minimum: 1343 x 847 (Cropped ID Image);**
* Max File Size: 3MB

{% hint style="warning" %}
Having the image not meeting the requirements will reduce the accuracy of the OkayID Lite.
{% endhint %}

## Image Quality Requirements

Below are the requirements for size and quality of document images captured by any device, which are necessary for successful image processing by OkayID Lite:

* **Good lighting**

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

![](/files/-M-htxwn871quhC3a_8J)

* **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.

![](/files/-M-hu7OqrcgXZMVpAKyF)

* **Focus and sharpness**

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

![](/files/-M-huCZz969firczHaje)

* **Angle**

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

![](/files/-M-huIX3BrEwdKwVKiiU)

* **Margins (too small)**

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

![](/files/-M-huOfVIUyE_yh3X1ma)

* **Margins (too big)**

  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.

![](/files/-M-huVDEzTPGJpdTBML5)

* **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, cannot be recognized.

![](/files/-M-hudd6EPhKeQaSsbRV)

* **Resolution of the image**

  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.

![](/files/-M-nGI5q0ctc4UhTfW6M)

* **Extraneous objects**

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

![](/files/-M-hujof-X7sesUpKMfp)
