public class FaceDetector.Face extends Object
Modifier and Type | Field and Description |
---|---|
static float |
CONFIDENCE_THRESHOLD
The minimum confidence factor of good face recognition
|
static int |
EULER_X
The x-axis Euler angle of a face.
|
static int |
EULER_Y
The y-axis Euler angle of a face.
|
static int |
EULER_Z
The z-axis Euler angle of a face.
|
Modifier and Type | Method and Description |
---|---|
float |
confidence()
Returns a confidence factor between 0 and 1.
|
float |
eyesDistance()
Returns the distance between the eyes.
|
void |
getMidPoint(PointF point)
Sets the position of the mid-point between the eyes.
|
float |
pose(int euler)
Returns the face's pose.
|
public static final float CONFIDENCE_THRESHOLD
public static final int EULER_X
public static final int EULER_Y
public static final int EULER_Z
public float confidence()
public void getMidPoint(PointF point)
point
- the PointF coordinates (float values) of the
face's mid-pointpublic float eyesDistance()
public float pose(int euler)
euler
- the Euler axis to retrieve an angle from
(EULER_X, EULER_Y or
EULER_Z)