Package com.appliedrec.verid.core2
Class FaceAuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.appliedrec.verid.core2.FaceAuthenticationException
-
- All Implemented Interfaces:
java.io.Serializable
public class FaceAuthenticationException extends java.lang.Exception
Exception returned by a session when face authentication fails because of the similarity score between the session and registered faces is too low- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FaceAuthenticationException(float score, float threshold, float max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getMax()
java.lang.String
getMessage()
float
getScore()
float
getThreshold()
-
-
-
Method Detail
-
getScore
public float getScore()
- Returns:
- Similarity score
-
getThreshold
public float getThreshold()
- Returns:
- Similarity score threshold required to pass the authentication
-
getMax
public float getMax()
- Returns:
- Maximum possible similarity score
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- Message that describes the exception
-
-