LogoLogo
  • Introduction
  • Use Cases
  • Getting Started
    • Starting the server
    • Configuration
    • Licensing and Authorization
    • Using the Swagger Docs page
    • Authorization
  • OpenCV FR Server
    • Collection Management
    • Person Management
      • Bulk Enroll or Update Persons
    • Face Search
    • Face Compare
    • Liveness Detection
Powered by GitBook
On this page
Export as PDF
  1. OpenCV FR Server

Liveness Detection

PreviousFace Compare

Last updated 2 months ago

The liveness feature in the OpenCV FR Server is integrated into the , and functions. A standalone liveness check API is not available.

To prevent fraud using high-resolution printouts, masks, or video replays, the liveness image imposes stricter requirements on the image. Liveness image requirement:

Our API processes the area around the face, so the optimal resolution will depend on the image content. Assuming a portrait orientation, with the face centered and taking at least 1/4 of the image area, the minimum image resolution is SVGA (600x800). In general, images captured in higher resolution will result in better accuracy.

  • The minimum size of a face box that can be processed is 150x150 pixels.

  • The padding between the face box and the image's borders should be at least 15 pixels.

  • The distance between the pupils on the face should be at least 50 pixels.

  • The out-of-plane rotation angle (face pitch and yaw) should be no more than ±30 degrees.

  • There should only be one main face on the image. It should be fully visible within a frame and fully

  • Fish-eye lenses and sunglass images are not supported.

Person Enrollment
Face Compare (1:1)
Face Search (1:N)