LivenessThresholdBlink class
To get precise results pass the value close to 0
, e.g. 0.2
To relax the precision pass the value towards 1
, e.g. 0.5
Default Value: 0.25
- Inheritance
-
- Object
- Equatable
- LivenessThreshold
- LivenessThresholdBlink
Constructors
- LivenessThresholdBlink({double leftEyeProbability = 0.25, double rightEyeProbability = 0.25})
- LivenessThresholdBlink.fromJson(String source)
-
factory
-
LivenessThresholdBlink.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- leftEyeProbability → double
-
final
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- rightEyeProbability → double
-
final
- 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}) → LivenessThresholdBlink -
fromDict(
Map< String, dynamic> map) → LivenessThreshold -
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