For the complete documentation index, see llms.txt. This page is also available as Markdown.

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)

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

  • Avoid reflections(only for 'idImageBase64Image' & 'otherDocList'.'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.

  • Focus and sharpness

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

  • Angle

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

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

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

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

  • Extraneous objects

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

Last updated