class DfacePose, a class responsible for face pose predicting
More...
class DfacePose, a class responsible for face pose predicting
DFace.DfacePose.DfacePose |
( |
String |
modePath, |
|
|
out int |
err_code |
|
) |
| |
DfacePose Constructor
- Parameters
-
modePath | dface model path |
err_code | status(0:OK non-0:Error) |
void DFace.DfacePose.Dispose |
( |
| ) |
|
double [] DFace.DfacePose.predictBlur |
( |
Bitmap |
bmp, |
|
|
Box[] |
box |
|
) |
| |
Predict face blur score
- Parameters
-
- Returns
- blur score(suggest <150 mean too blurry, the threshold is diverse among cameras)
float [] DFace.DfacePose.predictCoverEye |
( |
Bitmap |
bmp, |
|
|
Box[] |
box |
|
) |
| |
Predict face eye block is blocked or not
- Parameters
-
- Returns
- eye block score(0.0~1.0, higher means more block chance)
float [] DFace.DfacePose.predictCoverMouth |
( |
Bitmap |
bmp, |
|
|
Box[] |
box |
|
) |
| |
Predict face mouth is blocked or not
- Parameters
-
- Returns
- mouth block score(0.0~1.0, higher means more block chance)
int [] DFace.DfacePose.predictLight |
( |
Bitmap |
bmp, |
|
|
Box[] |
box |
|
) |
| |
Predict face image exposure status
- Parameters
-
- Returns
- exposure status(0:normal 1:exposure low 2:exposure high)
float [] DFace.DfacePose.predictMask |
( |
Bitmap |
bmp, |
|
|
Box[] |
box |
|
) |
| |
Predict wear mask or not
- Parameters
-
- Returns
- wearing-mask-score(0.0~1.0, suggest >0.9 mean wearing)
Pose [] DFace.DfacePose.predictPose |
( |
Bitmap |
bmp, |
|
|
Box[] |
box |
|
) |
| |
Detect face landmarks and 3d pose(Euler angles) information
- Parameters
-
- Returns
- face 3d pose(yaw,pitch,roll,t_x,t_y,t_z)
The documentation for this class was generated from the following file:
- dotnet/en/DFaceEnglish.cs