FaceDetectorOutput class
Output produced by the native face analyzer for a single frame.
Constructors
-
FaceDetectorOutput({required List<
BoundingBox> faces, HeadPose? headPose, double? smilingProbability, required double brightness, FaceTracking? tracking, List<double> ? faceLuma}) -
const
Properties
- brightness → double
-
Average frame brightness (0–255).
final
-
faceLuma
→ List<
double> ? -
The largest face's light for the debug HUD's light map: its box sampled
16 by 16, mean luma (0–1) row by row from the top, in the upright image.
nullunless the light map is showing.final -
faces
→ List<
BoundingBox> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headPose → HeadPose?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smilingProbability → double?
-
Smile probability (0.0–1.0).
nullwhen not available from the analyzer.final - tracking → FaceTracking?
-
The face the debug HUD's Tracking section reads, or
nullwithout one.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