BlinkDetectionThreshold class
Configure Blink threshold that will be used while verifying blink.
- Inheritance
-
- Object
- Equatable
- DetectionThreshold
- BlinkDetectionThreshold
Constructors
- BlinkDetectionThreshold({double leftEyeProbability = 0.25, double rightEyeProbability = 0.25})
- BlinkDetectionThreshold.fromJson(String source)
-
factory
-
BlinkDetectionThreshold.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- leftEyeProbability → double
-
Threshold to specify at which the left eye's blink verification is considered as verified.
To get precise results pass the value close to
0, e.g.0.2To relax the precision pass the value towards1, e.g.0.5Default Value:0.25final -
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- rightEyeProbability → double
-
Threshold to specify at which the right eye's blink verification is considered as verified.
To get precise results pass the value close to
0, e.g.0.2To relax the precision pass the value towards1, e.g.0.5Default Value:0.25final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{double? leftEyeProbability, double? rightEyeProbability}) → BlinkDetectionThreshold -
fromDict(
Map< String, dynamic> map) → DetectionThreshold -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override