FaceRGBLiveness API.
More...
boolean com.dface.api.FaceRGBLiveness.initLoad |
( |
String |
model_path, |
|
|
int |
level |
|
) |
| |
init FaceRGBLiveness
- Parameters
-
model_path | model path |
level | RGB Liveness level (LEVEL_1, LEVEL_2, LEVEL_2) |
- Returns
- init status code
float com.dface.api.FaceRGBLiveness.liveness_check |
( |
byte[] |
data, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
format, |
|
|
Bbox |
faceBox |
|
) |
| |
Liveness check
- Parameters
-
data | Image bytes data |
w | Image width |
h | Image height |
format | Image format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUY2, ...) |
- See also
- com.dface.dto.FrameFormatType
- Parameters
-
- Returns
- Live score
- Note
- (suggest >=0.7 mean live, more detail please check wiki)
float com.dface.api.FaceRGBLiveness.liveness_check |
( |
Bitmap |
frameBitmap, |
|
|
Bbox |
faceBox |
|
) |
| |
Liveness check
- Parameters
-
frameBitmap | frame bitmap |
faceBox | Face box |
- Returns
- Live score
- Note
- ()
boolean com.dface.api.FaceRGBLiveness.uninitLoad |
( |
| ) |
|
The documentation for this class was generated from the following file:
- java/en/com/dface/api/FaceRGBLiveness.java