public class LivenessResult
extends java.lang.Object
| Constructor and Description |
|---|
LivenessResult(float score,
float probability)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getProbability()
Get probability of liveness in range=[0, 1].
|
float |
getScore()
Get linear liveness score: bigger value means more alive.
|
java.lang.String |
toString()
Returns string representation of object.
|
public LivenessResult(float score,
float probability)
score - linear liveness score: bigger value means more alive.probability - probability of liveness in range=[0, 1].public float getScore()
public float getProbability()
public java.lang.String toString()
toString in class java.lang.Object