> 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/okaydoc/image-quality-requirements.md).

# Image Requirements

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

* **Image Resolution**

  Maximum:3000 x 1500. Minimum: 1343 x 847 (Cropped ID Image)&#x20;
* **Max File Size = 3MB**
* **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(only for '**&#x69;dImageBase64Imag&#x65;**' & '**&#x6F;therDocList'.'high quality'**)**

  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)

* **Extraneous objects**

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

![](/files/-M-huqESZ-lDHSsKlSoN)
