public static class DeepAR.FaceData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EMOTION_IDX_ANGER
Detected anger on face.
|
static int |
EMOTION_IDX_HAPPINESS
Detected happiness on face.
|
static int |
EMOTION_IDX_NEUTRAL
Detected neutral face emotion.
|
static int |
EMOTION_IDX_SADNESS
Detected sadness on face.
|
static int |
EMOTION_IDX_SURPRISE
Detected surprise on face.
|
float[] |
emotions
Estimated emotions for the face.
|
boolean |
faceDetected
Determines whether the face is detected or not.
|
float[] |
faceRect
A rectangle containing the face in screen coordinates (X, Y, Width, Height).
|
float[] |
landmarks
Detected face feature points in 3D space (X, Y, Z).
|
float[] |
landmarks2d
Detected face feature points in 2D screen space coordinates (X, Y).
|
float[] |
poseMatrix
Translation and rotation in matrix form (D3D style, column-major order).
|
float[] |
rotation
The pitch, yaw and roll rotation values in euler angles (degrees) of the face in the scene.
|
float[] |
translation
The X, Y and Z translation values of the face in the scene.
|
Constructor and Description |
---|
FaceData()
Creates an empty face data.
|
public static final int EMOTION_IDX_NEUTRAL
public static final int EMOTION_IDX_HAPPINESS
public static final int EMOTION_IDX_SURPRISE
public static final int EMOTION_IDX_SADNESS
public static final int EMOTION_IDX_ANGER
public boolean faceDetected
public float[] translation
public float[] rotation
public float[] poseMatrix
public float[] landmarks
public float[] landmarks2d
public float[] faceRect
public float[] emotions
EMOTION_IDX_NEUTRAL
)EMOTION_IDX_HAPPINESS
)EMOTION_IDX_SURPRISE
)EMOTION_IDX_SADNESS
)EMOTION_IDX_ANGER
)