FaceInfo class

Creates a FaceInfo instance using the provided event data.

The event should be a map containing raw data from a FaceEvent. This constructor converts the raw event data into a user-friendly object format.

Inheritance

Constructors

FaceInfo(Map event)
Creates a FaceInfo instance with the provided event data.

Properties

centerX double
The distance from the camera to the face's center along the X-axis in millimeters.
getter/setter pair
centerY double
The distance from the camera to the face's center along the Y-axis in millimeters.
getter/setter pair
centerZ double
The distance from the camera to the face's center along the Z-axis in millimeters.
getter/setter pair
frameSize Size
The size of the frame containing the face in pixels.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pitch double
The pitch rotation of the face in degrees.
getter/setter pair
rect Rect
The rectangular region in which the face is located.
getter/setter pair
roll double
The roll rotation of the face in degrees.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
The confidence score of facial recognition (ranging from 0.0 to 1.0).
getter/setter pair
timestamp int
The timestamp when the facial information was captured.
getter/setter pair
yaw double
The yaw rotation of the face in degrees.
getter/setter pair

Methods

checkKeyExists(Map event, String key) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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