Face class

A Face contains all the information identifying the location of a face in a bitmap.

See: https://developer.android.com/reference/android/media/FaceDetector.Face

Constructors

Face({double confidence, double eyesDistance, PointF midPoint, double poseX, double poseY, double poseZ})

Properties

confidence double
A confidence factor between 0 and 1. [...]
final
eyesDistance double
The distance between the eyes. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
midPoint PointF
The position of the mid-point between the eyes. [...]
final
poseX double
The Euler angle of the face, around the X axis.
final
poseY double
The Euler angle of the face, around the Y axis.
final
poseZ double
The Euler angle of the face, around the Z axis.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pose(int euler) double
Returns the face's pose. That is, the rotations around either the X, Y or Z axis (the positions in 3-dimensional Euclidean space). [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONFIDENCE_THRESHOLD → const double
The minimum confidence factor of good face recognition. [...]
0.4
EULER_X → const int
The X-axis Euler angle of a face. [...]
0
EULER_Y → const int
The Y-axis Euler angle of a face. [...]
1
EULER_Z → const int
The Z-axis Euler angle of a face. [...]
2