VerifyResult class
The result of FacePing.verify or FacePing.verifyLive.
- Annotations
Constructors
- VerifyResult({required VerifyOutcome outcome, required double similarity, required double? livenessScore, required Duration elapsed, required bool isSandbox})
-
Creates a result (FacePing creates these; you only need this in tests).
const
Properties
- elapsed → Duration
-
How long the check took on the device.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isMatch → bool
-
True for VerifyOutcome.match.
no setter
- isSandbox → bool
-
True when the face was enrolled with a sandbox key.
final
- livenessScore → double?
-
Passive liveness score of the deciding frame, when a face was seen.
final
- outcome → VerifyOutcome
-
What the check found.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- similarity → double
-
Cosine similarity of the best frame to the enrolled face (the match threshold is 0.363).
final
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.
override