FaceNIRLiveness API.
More...
#include <dface_nir_liveness.h>
dface::DfaceNIRLiveness::DfaceNIRLiveness |
( |
| ) |
|
|
inline |
virtual dface::DfaceNIRLiveness::~DfaceNIRLiveness |
( |
| ) |
|
|
inlinevirtual |
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] | frame | NIR camera frame bytes data |
[in] | w | NIR frame width |
[in] | h | NIR frame height |
[in] | format | NIR frame format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...) |
[in] | in_color_bbox | Color 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_bbox | Color camera detected boxes |
[in] | in_ir_bbox | NIR camera detected boxes |
- Returns
- Liveness score note (suggest >0.4 mean live)
The documentation for this class was generated from the following file: