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

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-htxwn871quhC3a_8J%2F1.JPG?alt=media\&token=fb6d652c-7f53-4e79-9b64-a13c03f773e2)

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

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-hu7OqrcgXZMVpAKyF%2F2.JPG?alt=media\&token=73d7699f-657a-47b5-9eba-a7ea4eea0b75)

* **Focus and sharpness**

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

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-huCZz969firczHaje%2F3.JPG?alt=media\&token=1c0915c0-134c-47ff-b705-564a01a5f41f)

* **Angle**

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

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-huIX3BrEwdKwVKiiU%2F4.JPG?alt=media\&token=18b68060-3ac5-49d1-b36b-92e423e628b0)

* **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://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-huOfVIUyE_yh3X1ma%2F5.JPG?alt=media\&token=64d24a0c-4dd2-4e22-8b05-8e3d22f028ed)

* **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://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-huVDEzTPGJpdTBML5%2F6.JPG?alt=media\&token=ea141305-9b4b-4089-90f7-a675804eae7c)

* **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://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-hudd6EPhKeQaSsbRV%2F7.JPG?alt=media\&token=5b6441ef-7a8a-44b3-8699-be17ad80d6fe)

* **Extraneous objects**

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

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M-hsKnatt3C83ZtVdmr%2F-M-huqESZ-lDHSsKlSoN%2F8.JPG?alt=media\&token=3b0e02f5-bfa9-41d5-ae3c-a95485c7d9fe)
