HeadEulerAngles class
Head orientation as Euler angles in degrees, matching the sign conventions
documented by Google ML Kit's Face:
- x (pitch): rotation about the horizontal axis. Positive when the face tilts up.
- y (yaw): rotation about the vertical axis. Positive when the face turns toward the right side of the image.
- z (roll): rotation about the axis pointing out of the image. Positive for a counter-clockwise tilt within the image plane.
Constructors
- HeadEulerAngles(double x, double y, double z)
-
Creates head Euler angles from pitch
x, yawy, and rollzdegrees.const -
HeadEulerAngles.fromMap(Map<
String, dynamic> map) -
Creates head Euler angles from a serialized map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Serializes to a map for isolate transfer.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited