VerifyResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. VerifyResult
- com.
public class VerifyResult
Result of the verify operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
boolean |
isIdentical()
Get the isIdentical value. |
Verify |
withConfidence(double confidence)
Set the confidence value. |
Verify |
withIsIdentical(boolean isIdentical)
Set the isIdentical value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
the confidence value
isIdentical
public boolean isIdentical()
Get the isIdentical value.
Returns:
the isIdentical value
withConfidence
public VerifyResult withConfidence(double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the VerifyResult object itself.
withIsIdentical
public VerifyResult withIsIdentical(boolean isIdentical)
Set the isIdentical value.
Parameters:
isIdentical
- the isIdentical value to set
Returns:
the VerifyResult object itself.