DFACE C++  5.0.0
dface::DfaceNIRLiveness Class Referenceabstract

FaceNIRLiveness API. More...

#include <dface_nir_liveness.h>

Public Member Functions

 DfaceNIRLiveness ()
 
virtual ~DfaceNIRLiveness ()
 
virtual float liveness_check (unsigned char *frame, int w, int h, int format, dface::Box &in_color_bbox)=0
 
virtual float liveness_check (dface::Box &in_color_bbox, dface::Box &in_ir_bbox)=0
 

Detailed Description

FaceNIRLiveness API.

Constructor & Destructor Documentation

dface::DfaceNIRLiveness::DfaceNIRLiveness ( )
inline

Constructor

virtual dface::DfaceNIRLiveness::~DfaceNIRLiveness ( )
inlinevirtual

Destructor

Member Function Documentation

virtual float dface::DfaceNIRLiveness::liveness_check ( unsigned char *  frame,
int  w,
int  h,
int  format,
dface::Box in_color_bbox 
)
pure virtual

NIR liveness check

Parameters
[in]frameNIR camera frame bytes data
[in]wNIR frame width
[in]hNIR frame height
[in]formatNIR frame format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...)
[in]in_color_bboxColor camera detect boxes
Returns
Liveness score note (suggest >0.4 mean live)
virtual float dface::DfaceNIRLiveness::liveness_check ( dface::Box in_color_bbox,
dface::Box in_ir_bbox 
)
pure virtual

NIR liveness check

Parameters
[in]in_color_bboxColor camera detected boxes
[in]in_ir_bboxNIR camera detected boxes
Returns
Liveness score note (suggest >0.4 mean live)

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