SmileDetectionThreshold class

Configure Smile threshold that will be used while verifying smile.

Inheritance

Constructors

SmileDetectionThreshold({double probability = 0.75})
SmileDetectionThreshold.fromJson(String source)
factory
SmileDetectionThreshold.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
probability → double
Threshold of a smile when the step should be considered as verified Default Value: 0.75
final
props → List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
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? probability}) → SmileDetectionThreshold
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