# Image Requirements

## Minimum Requirement for Image File

Below are the requirements for size and quality of document images captured by any device, which are necessary for accurate return of results by OkayDoc:

**Image Resolution**

* Maximum:3000 x 1500. Minimum: 1343 x 847 (Cropped ID Image)&#x20;
* **Max File Size = 3MB**\
  ![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FSDE9PJw75ZsIcGHQmXjc%2Fimage.png?alt=media\&token=e8c4f388-cff5-432b-b05a-fbde3e204280)

{% hint style="warning" %}
Submitted image need to reach the minimum requirement threshold to get a better accuracy result.
{% endhint %}

## Image Quality Requirements

Below are the requirements for size and quality of document images captured by any device, which are necessary for accurate return of results by OkayID:

* **Good lighting**

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FnLyFn6LVtsvc813v3K46%2F1.JPG?alt=media\&token=5d3b07d0-b1c7-411c-b22a-2ba3c8b1c3b8)

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FVZkTRU1ZA8r388DMxyF1%2F2.JPG?alt=media\&token=bde8b23e-7c1c-400a-942f-8ae7f9670a06)

* **Focus and sharpness**

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2F7H5zs7Z6zlSS9JbDYpsE%2F3.JPG?alt=media\&token=7011a7e7-e6c6-47c7-8a1b-dbc584136170)

* **Angle**

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2Fy5tpddNHyrXTxOkAQkTC%2F4.JPG?alt=media\&token=3d58d36f-3fe3-4ed0-9c54-e2516cd4337f)

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FE8uol13JawTdgBncXbSY%2F5.JPG?alt=media\&token=8840ce3f-4d73-40da-a92a-77182d995e37)

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FkaisLFzwj7TMx2IVqeGA%2F6.JPG?alt=media\&token=8dca3943-90da-43f2-9c52-ed5a50177751)

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FcLtJbrhaRQTpR12kjHIq%2F7.JPG?alt=media\&token=e05e2fb3-b6e4-4d7b-9d43-05b30ca0db45)

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FAi9kG7zzmFoUNOOc81Zd%2FCapture.JPG?alt=media\&token=c5ef8531-06cb-4527-9bf4-0b52c6189c45)

* **Extraneous objects**

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

![](https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FkdbDpfgvxOC6KHqxo4wz%2F8.JPG?alt=media\&token=e8546bea-7328-4071-8dc3-a795a493fb16)
