Image Requirements
General 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 OkayFace:
Maximum File Size:
imageIdCard (ID Card Image) = 3MB
imageBest (selfie) = 3MB
Minimum Resolution:
450px x 450px
Capture Requirements
To Avoid:
Blurry or motion blur selfie image that will decrease the accuracy of the API.
Overly compressed image that will decrease the accuracy of the API.
Selfie that is taken in landscape mode that will cause detection error.
Environment that is too bright or too dark that cause API fail to pick up the selfie's facial features.
Multiple faces in the background of the selfie.
Facial position that is too near or too far from the selfie image.
To Do:
Facing straight to the camera to ensure the API detection is able to detect the facial features accurately.
Retain a portion of margin surrounding the selfie image to prevent API fail to detect face.
Make sure the selfie's head is within the picture frame.
All of the following mentioned above will positively/negatively affect the accuracy of the API.
Examples of Correct Selfie Image:
Examples of Incorrect Selfie Image:
Last updated
Was this helpful?