Image Quality
The imageQuality section of the API response assesses the quality of images submitted as part of the identification document verification process. This evaluation plays a crucial role in ensuring that the images are suitable for all subsequent checks like text extraction, security feature verification, and face recognition.
- : The image meets the quality criteria for the specific check.
- : The image does not meet the quality criteria for the specific check.
- : The check was not applicable or could not be performed due to image conditions.
Below is the detailed breakdown of each image quality check parameter for both the front and back ID images:
Parameter | Sub-Parameter | Data Type | Possible Values | Description |
---|---|---|---|---|
imageQuality | result | Boolean | True, False | Overall result of the image quality checks. |
 | frontIdCheck | Object |  | Container for quality checks on the front ID image. |
 | backIdCheck | Object |  | Container for quality checks on the back ID image. |
frontIdCheck / backIdCheck | ImageGlares | Boolean | True, False, None | Indicates presence of glare on the image. |
 | ImageFocus | Boolean | True, False, None | Checks if the image is in focus. |
 | ImageResolution | Boolean | True, False, None | Verifies if image resolution meets the minimum threshold. |
 | ImageColorness | String | True, False, None, "NA" | Determines if the image is colorless. |
 | Perspective | Boolean | True, False, None | Detects excessive perspective distortion. |
 | Bounds | Boolean | True, False, None | Checks if the document is fully visible within the image bounds. |
 | Portrait | String | True, False, None | Verifies the presence and quality of the portrait in the image. |
 | Brightness | String | True, False, None, "NA" | Assesses if the image's brightness is adequate. |
These image quality checks ensure that the images provided are of sufficient quality for accurate processing and analysis. Poor image quality can lead to failures in extracting critical information, which might affect the overall reliability of the document verification process. The results from these checks help identify issues like blurred images, glare effects, improper cropping, or inadequate lighting, which could otherwise compromise the integrity of the verification process.
When processing an identification document, if the ImageFocus returns False under frontIdCheck, it indicates that the front image of the ID is not sufficiently focused, which might necessitate a request for a new image submission from the user. This helps maintain a high standard of verification accuracy and reduces the risk of erroneous interpretations.