Skip to main content
Version: 3.24.1 (latest)

Face tracking and liveness estimation

The bin directory contains the executable file test_videocap:

test_videocap

The program demonstrates face tracking and assessment of whether a face belongs to a real person.

Launch parameters:

  • path to the library file libfacerec.so or facerec.dll
  • path to the directory conf/facerec

Example of launching from the directory bin:

test_videocap facerec.dll ../conf/facerec

The results of tracking and determining whether a face belongs to a real person are displayed in the window. Error messages, if any, are also displayed in the console.

Source code: test_videocap.cpp

The OpenCV library is required for assembly.