# 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**\
  ![](/files/Cyng20sndxQWGVs8yBeD)

{% 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.

![](/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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydoc/okaydoc-all/image-requirements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
