Appearance
Photo quality check
The Photo Quality Check feature allows to validate the quality of photos (captured or uploaded) before they are submitted for analysis. This ensures that only images meeting the required standards are processed, improving the reliability of results. The feature is governed by the parameters quality-check
and quality-check-sources
.
Preset Support
At present, quality check are available only for the face
and face-180
presets.
Quality check modes
A flag to enable the quality check and set the strictness: quality-check
.
Option | Description |
---|---|
off | The quality check will be disabled. |
normal | The quality check will be performed and shown to the end-user, but the user will be able to continue even if the quality criteria are not met. |
strict | The quality check will be strict and the user will not be able to continue if the quality criteria are not met. |
Default: off
A flag to specify the image sources for the quality check: quality-check-sources
.
Source | Description |
---|---|
front_camera | Enforces quality check on images captured from the front camera. |
back_camera | Enforces quality check on images captured from the back camera. |
upload | Enforces quality check on images provided via file upload. |
companion | Enforces quality check on images captured via a companion source. |
The quality check behavior (set via the quality-check
property) will only be applied to the sources listed in this array.
Default: ["front_camera", "back_camera", "upload", "companion"]
Parameters for which images are checked
LIQA currently tests the following quality parameters for images:
- Face presence
- Face position
- Noise
- Blur
- Light
- Image resolution
UI
Below you can see a few examples of quality check screens in case there are problems

An example of an image with blur. The quality check is set to `normal` and the user can send the image for analysis.

An example of an image with noise. The quality check is set to `strict` so the user can send the image for analysis until all quality criteria are met.