Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
Public Member Functions | List of all members
face_sdk::liveness Class Referenceabstract

The liveness detection algorithm. Detects spoof attacks. More...

#include <liveness.h>

Public Member Functions

virtual uint32_t version () const =0
 Returns liveness detection algorithm version.
 
virtual liveness_result_set process_faces (const face_sdk::face_set &faces)=0
 Performs liveness detection on detected faces. The faces must be detected by compatible face detection algorithm. See list of dependencies.
If you serialize faces you must serialize with full frame for correct work. More...
 

Detailed Description

The liveness detection algorithm. Detects spoof attacks.

Use face_sdk::make_liveness functions for instantiate an liveness object.

Member Function Documentation

◆ process_faces()

virtual liveness_result_set face_sdk::liveness::process_faces ( const face_sdk::face_set &  faces)
pure virtual

Performs liveness detection on detected faces. The faces must be detected by compatible face detection algorithm. See list of dependencies.
If you serialize faces you must serialize with full frame for correct work.

Parameters
[in]facesFaces obtained directly from face_sdk::face_detector or deserialized by face_sdk::serializer.
Returns
a set of liveness_result objects wrapped into std::shared_ptr. Each element in the set relates to the face in input faces set.
Exceptions
face_sdk::exceptionSee Exceptions handling.

The documentation for this class was generated from the following file: