public class IdentificationResult
extends java.lang.Object
Constructor and Description |
---|
IdentificationResult(float[] scores,
float threshold)
Initializes identification result instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
getIndexesOfMatchedTemplates()
Returns indexes of templates stored (i.e.
|
float[] |
getScores() |
float |
getThreshold() |
boolean |
isMatched()
Check whether voice template was matched or not
|
java.lang.String |
toString() |
public IdentificationResult(float[] scores, float threshold)
scores
- similarity score for each templatethreshold
- similarity score thresholdVoiceSdkEngineException
- wraps native exceptionspublic float[] getScores()
public float getThreshold()
method for decision making logic
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<java.lang.Integer> getIndexesOfMatchedTemplates()
public boolean isMatched()