BlinkInfo class
BlinkInfo represents the data related to eye blink detection, providing information about whether a blink occurred and the openness level of each eye.
This class includes the following properties:
- isBlink: A boolean value indicating whether a blink (both eyes) is detected.
- isBlinkLeft: A boolean value indicating whether the left eye is detected as blinking.
- isBlinkRight: A boolean value indicating whether the right eye is detected as blinking.
- leftOpenness: A double value (0.0 to 1.0) representing the openness level of the left eye, where 0.0 means fully closed and 1.0 means fully open.
- rightOpenness: A double value (0.0 to 1.0) representing the openness level of the right eye, where 0.0 means fully closed and 1.0 means fully open.
BlinkInfo is used to monitor and interpret the blinking state of the user's eyes, aiding in detecting attention levels and gaze-based interactions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBlink ↔ bool
-
latefinal
- isBlinkLeft ↔ bool
-
latefinal
- isBlinkRight ↔ bool
-
latefinal
- leftOpenness ↔ double
-
latefinal
- rightOpenness ↔ double
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited