FaceInfo class
FaceInfo represents the data collected from face tracking events, providing information about the detected face and its orientation in space.
This class includes the following properties:
- score: A confidence score (0.0 to 1.0) indicating the accuracy of the face detection.
- rect: The bounding rectangle of the detected face, represented as a Rect object with coordinates relative to imageSize.
- imageSize: The size of the image used by the camera during face detection, represented as a Size object.
- pitch: The pitch angle of the face, representing the up and down tilt.
- yaw: The yaw angle of the face, representing the left and right rotation.
- roll: The roll angle of the face, representing the tilt to the left or right side.
- centerX: The distance of the face's center from the camera along the X-axis.
- centerY: The distance of the face's center from the camera along the Y-axis.
- centerZ: The distance of the face's center from the camera along the Z-axis (depth).
FaceInfo is useful for understanding the face orientation and its position relative to the camera, aiding in gaze tracking and other facial interactions.
Properties
- centerX ↔ double
-
latefinal
- centerY ↔ double
-
latefinal
- centerZ ↔ double
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageSize ↔ Size
-
latefinal
- pitch ↔ double
-
latefinal
- rect ↔ Rect
-
latefinal
- roll ↔ double
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score ↔ double
-
latefinal
- yaw ↔ double
-
latefinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited