Image requirements

Get better results by using our native Face capture module(s).

Face Capture Module (FCM)

This page is only relevant if you are not able to use our native Face capture module for any reason. In that case, you must ensure your image captures fulfil the following requirements to use our services:

ConditionAnti Spoofing
Image resolutionThe image must be 720p (1280x720 pixels) or 1080p (1920x1080 pixels)
Image format

PNG or JPEG (95 to 100 quality)

Please avoid image format conversion to avoid degrade image quality

Single face imageWe don't support multiple faces images
Ratio Face to Image

35% to 80% of Face Box over the image size

Note: A centred overlay will help you to send better images. It will avoid the users stay to close to the camera avoiding face distortions or too far from the camera where the face will be too small for the model analysis

Face sizeThe minimum face size is 150px
Face croppingBased on Client Face detector adding padding
Face positionFace should be centred in the image
Image size

Min height/width 300 pixels

Max height/width 2000 pixels

ColourThe image must be colour (RGB). Yoti does not accept black and white or filtered images. The greyscale threshold is 20
BrightnessBrightness/darkness is measured by mean values of all the RGB pixels. The brightness threshold is 215. The darkness threshold is 40
SizeThe minimum image size is 50KB/90000 pixels size. The maximum image size is 1.5 MB/2100000 pixels size
Zero Pixels RatioThe ratio threshold is 0.2

The best trade-off between users' experience and model performance is applying a ratio between the size of the Bounding Box Face and the image size.

There is also a tradeoff between estimation accuracy and camera quality / light conditions, false-negative errors such as face not detected or spoofing attempt detected may be higher than expected due to one or more of the following factors:

ConditionDescription
LightingProvide UX and guidance to the user. Jump to User experience for more information.
Face positioningGuide the users to place their face in the middle of the photo you are capturing. A near frontal pose with no obstruction to the facial features. The minimum inter ocular distance is 120 pixels.
Camera anglePlease try to get a face-on photo of the user to get the best result. The camera’s field of view is too small to provide suitable context around the facial image captured.
Camera typeThe API does not work on infrared cameras. To ensure the best performance we are happy to support your testing when evaluating camera options.
Image croppingFurther image cropping can also reduce the context around the facial image captured. This can negatively impact the ability of the algorithm to compare to other ‘normal’ images in its learned model.
Glare / BlurInsufficient anti-glare capabilities of either the lens or the glass will make it harder for the anti-spoofing to accurately detect edges around faces. This can negatively impact the ability of the algorithm to compare to other ‘normal’ images in its learned model.
ZoomOptical zoom effects can reduce the context around the facial image captured. This can negatively impact the ability of the algorithm to compare to other ‘normal’ images in its learned model. A distorted lens structure, such as a ‘fish-eye’ lens which is not how the AI model has been trained.
Image compressionToo much image compression is applied to the captured image which creates ‘artefacts’ and inaccuracies in the image (ideally no more than 90% compression). This can negatively impact the ability of the algorithm to compare to other ‘normal’ images in its learned model.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Image requirements