Skip to content
GBG Documents & Biometrics Documentation

Image requirements

The minimum requirement for processing a document with AssureID Connect is posting the white (light source) front (side) image of the document. There are specific imaging requirements that must be met to ensure that a document is correctly and accurately processed. These include cropping, resolution, and compression. The minimum and maximum accepted image size is defined by AssureID Connect in terms of pixel dimensions. The minimum pixel width and height is 100 x 100 pixels.

AssureID Connect will accept images independent of a specified resolution, or in the absence of accurate resolution information. While AssureID Connect still benefits from accurate image resolution reporting, it will assess the resolution during classification.

Image color depth requirements and naming conventions

Section titled “Image color depth requirements and naming conventions”

The following table describes the image color depth requirements for each illumination source. It also includes the naming convention for each illumination source for images used with the i-Dentify Emulator.

Illumination source Naming convention Color depth
Visible (white) White 24-bit RGB color
Near-infrared NearInfrared 8-bit grayscale
Ultraviolet-A UltravioletA 24-bit RGB color
Ultraviolet-A Back Back-UltravioletA
Visible Back Back-White

Although the minimum supported physical resolution is 300 DPI (dots per inch), higher resolutions can improve document classification and OCR accuracy. For document authentication, GBG strongly recommends using a minimum resolution of 600 DPI. If the resolution is not specified, AssureID will determine the resolution during classification.

The original images from an imaging device should not be resized or scaled to a smaller size, unless the resolution is very high (greater than 800 DPI). Images with a resolution greater than 800 DPI should be scaled down in size and resolution before compression to optimize processing performance. The aspect ratio of the image should not be changed, and the horizontal and vertical resolution of the image should ideally be within 1% of each other.

Glare metrics describe the amount of glare on the image and is a measure of light uniformity across the document. GBG recommends a score of 50 or greater to be considered an image with no glare or an acceptable level of glare. Sharpness metrics describe the sharpness of the image and is a measure of edge contrast across the document. A score of 0 means that the image is very blurry (not sharp) and a score of 100 means that the image is very sharp. By default, GBG recommends a sharpness grade of at least 50 or greater to be considered an image with an acceptable level of sharpness.

Do not excessively compress an image. Overcompression may degrade data capture and authentication performance. Use the following recommended minimum compressed image file sizes that correspond to the applicable light source.

Light source Minimum Recommended
Visible 500 KB 600-1200 KB
Near-infrared 200 KB 250-500 KB
Ultraviolet-A 125 KB 150-300 KB
Coaxial 125 KB 150-300 KB

Use the following guidelines for image cropping.

  • Use None if the images are already tightly cropped.
  • Use Always if the images are uncropped.

GBG recommends that you only use Automatic as a last resort. The only scenario where it may provide better results than None or Always is if you have an ID1-sized document where one side is cropped and the other side is not. Note that the Automatic setting will generally result in an unnecessarily high Unknown rate and will cause inconsistent behavior for non-ID1-sized documents. If possible, you will get better results if you run one transaction set to Always, and then if you get an Unknown result, retry with None.

The following table describes the settings for image cropping.

Cropping mode Description
Always Cropping is always performed on posted images. Note This will result in additional processing time if you submit images that have already been cropped.
None No cropping is performed on posted images. This mode should be used when the images are already tightly cropped to the document when posted. (DEFAULT)
Automatic Automatically determines whether image cropping is required on each image and performs the cropping and calculates image resolution when necessary. Note GBG does not recommend using the Automatic setting.

If the cropping mode is set to None and the expected image size is not specified as ID1 or ID3, then AssureID will determine the resolution. GBG recommends setting the cropping mode to Always.

The following are examples of uncropped, poorly cropped, and properly cropped ID3 size sample documents:

Example 1: Uncropped image

The following figure illustrates an overcropped image (the MRZ is cut off and the left side is too tightly cropped):

The following figure illustrates an overcropped image (the MRZ is cut off and the left side is too tightly

The following figure is an example of a properly cropped image:

The following figure is an example of a properly cropped image