class DfaceRGBLiveness, a class responsible for monocular face liveness checking by rgb frame
More...
class DfaceRGBLiveness, a class responsible for monocular face liveness checking by rgb frame
DFace.DfaceRGBLiveness.DfaceRgbAnti |
( |
String |
modePath, |
|
|
out int |
err_code |
|
) |
| |
DfaceRgbAnti Constructor
- Parameters
-
modePath | DFace model path |
err_code | status(0:OK non-0:Error) |
void DFace.DfaceRGBLiveness.Dispose |
( |
| ) |
|
unsafe float DFace.DfaceRGBLiveness.liveness_check |
( |
Bitmap |
bmp, |
|
|
Box |
box |
|
) |
| |
liveness check by rgb frame
- Parameters
-
- Returns
- rgb liveness score(0.0~1.0, suggest >0.7 mean live)
void DFace.DfaceRGBLiveness.setLevel |
( |
int |
level | ) |
|
Set Liveness level
- Parameters
-
level | Liveness level(1,2,3,4), default 2, bigger value mean more safe but lower speed |
The documentation for this class was generated from the following file:
- dotnet/en/DFaceEnglish.cs