Image Requirement

This page is used to show the image requirements that submitted to our OkayLive API to achieve better accuracy.

Image Requirements

Originally, anti-spoofing methods have been developed on smartphone database, which consists of 720p and 1080p horizontally and vertically oriented selfies, taken without any additional post-compression. Photo capturing mode result in an increase of True Liveness Rate because it relies less on blur effects.

  • Recommended height: 720px or 1080px.

  • Minimal supported height: 480px.

  • No image compression is highly recommended: JPEG 70 level as low as practicable.

  • Minimum image size(width/height): 450px

  • Vertical Orientation

It’s recommended to use uncompressed formats. If it’s not possible, then it’s recommended to compress image with the highest quality. The difference between near compression levels is invisible to the naked eye but very significant for the anti-spoofing methods retina.

Face Requirements

  • Out-of-plane rotation angle: from -20±3 to 20±3 degrees.

  • In-plane rotation angle: from -30±3 to 30±3 degrees.

  • Minimal distance between the eyes of the subject: 80 px.

  • Minimal face size is 224 pixels in any dimension.

  • Sun glasses can be confusing.

Capture Requirements

  • Motion blur effect can significantly increase BPCER.

  • Fish-eye lenses are not supported by this API.

  • Texture filtering can significantly increase APCER.

  • Spot lights on the faces and nearest surroundings can significantly increase BPCER.

  • Ill-lighted environment and colored light can significantly increase BPCER.

  • Rectangular-shaped object in background can significantly increase BPCER.

Correct Sample

Incorrect Sample

Capture module

Capturing images and pictures correctly with the mobile device camera is an important element of anti-spoofing detection routine.

Mobile Web

There are two general approaches in Web API to capture a single frame:

Last updated