java.lang.Object | |
↳ | android.media.FaceDetector.Face |
A Face contains all the information identifying the location of a face in a bitmap.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
float | CONFIDENCE_THRESHOLD | The minimum confidence factor of good face recognition | |||||||||
int | EULER_X | The x-axis Euler angle of a face. | |||||||||
int | EULER_Y | The y-axis Euler angle of a face. | |||||||||
int | EULER_Z | The z-axis Euler angle of a face. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns a confidence factor between 0 and 1.
|
||||||||||
|
Returns the distance between the eyes.
|
||||||||||
|
Sets the position of the mid-point between the eyes.
|
||||||||||
|
Returns the face's pose.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The minimum confidence factor of good face recognition
The x-axis Euler angle of a face.
The y-axis Euler angle of a face.
The z-axis Euler angle of a face.
Returns a confidence factor between 0 and 1. This indicates how certain what has been found is actually a face. A confidence factor above 0.3 is usually good enough.
Sets the position of the mid-point between the eyes.
point | the PointF coordinates (float values) of the face's mid-point |
---|
Returns the face's pose. That is, the rotations around either the X, Y or Z axis (the positions in 3-dimensional Euclidean space).
euler | the Euler axis to retrieve an angle from ( EULER_X , EULER_Y or EULER_Z ) |
---|