FBFaceDetectionResult class

Face detection result.

Constructors

FBFaceDetectionResult({required FBRect rect, List<FBPoint2d> keyPoints = const [], List<double> visibility = const [], int faceId = -1, int faceAction = -1, double score = 0.0, double pitch = 0.0, double roll = 0.0, double yaw = 0.0})
const
FBFaceDetectionResult.fromMap(Map map)
factory

Properties

faceAction → int
Face action bitmask.
final
faceId → int
Unique face ID.
final
hashCode → int
The hash code for this object.
no setterinherited
keyPoints → List<FBPoint2d>
106 normalized face landmarks.
final
pitch → double
Pitch angle -Pi, Pi.
final
rect → FBRect
Face bounding box.
final
roll → double
Roll angle -Pi, Pi.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → double
Detection confidence 0.0, 1.0.
final
visibility → List<double>
Per-landmark visibility scores 0.0, 1.0.
final
yaw → double
Yaw angle -Pi, Pi.
final

Methods

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