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, yaw y, and roll z degrees.
const
HeadEulerAngles.fromMap(Map<String, dynamic> map)
Creates head Euler angles from a serialized map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
Pitch in degrees (up/down).
final
y double
Yaw in degrees (left/right).
final
z double
Roll in degrees (in-plane tilt).
final

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