M7BlinkDetectionThreshold class

Configure Blink threshold that will be used while verifying blink.

Inheritance

Constructors

M7BlinkDetectionThreshold({double leftEyeProbability = 0.25, double rightEyeProbability = 0.25})
M7BlinkDetectionThreshold.fromJson(String source)
factory
M7BlinkDetectionThreshold.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.2 To relax the precision pass the value towards 1, e.g. 0.5 Default Value: 0.25
final
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.2 To relax the precision pass the value towards 1, e.g. 0.5 Default Value: 0.25
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}) M7BlinkDetectionThreshold
fromDict(Map<String, dynamic> map) M7DetectionThreshold
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