> For the complete documentation index, see [llms.txt](https://api2-ekycportal.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api2-ekycportal.innov8tif.com/experimental-space/emas-ekyc-portal/image-requirement/okayid.md).

# OkayID

## Minimum Requirement for Image File

1. Document should be fully inside the image;
2. Document should take 70 - 80% of the image area;
3. Document should not be stuck to image edges;
4. Image should be in focus in the document area;
5. There should be no glares or significant shadow on the document;
6. The background should be as contrast as possible, avoid capturing white on white, and dark on dark;
7. Resolution should be at least 200 PPI (300 PPI is recommended) for correct OCR (for ID1 86x54 mm taking \~80% of the image area, image size should be at least 900x600);
8. Supported formats are: JPG, JPEG, PNG, BMP, GIF, TIFF, TIF
9. Max Request Size: 20mb

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

## Suggested Image Size&#x20;

<figure><img src="/files/11T5ornJF7KQK35FrHrz" alt=""><figcaption></figcaption></figure>

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

![](/files/IRy8cIqmvdEU1kvg3vuZ)

* **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/q9KDIolooD32GXKBYRe9)

* **Focus and sharpness**

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

![](/files/oZYV1Oioqq1dVDE8J6MG)

* **Angle**

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

![](/files/SUoJPkvkLmrw70Md2jvV)

* **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/KkaOXigwR8l0pCjUjf9h)

* **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/BBHOjXrlLEBiQHl2lsUv)

* **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/sc1eWK723QnEPkEWInaL)

* **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/6fZANePfixYDwNASOOyr)

* **Extraneous objects**

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

![](/files/2697cs2umk1NTVItecEP)
