SimilarFace Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. SimilarFace
- com.
public class SimilarFace
Response body for find similar face operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
UUID |
faceId()
Get the faceId value. |
UUID |
persistedFaceId()
Get the persistedFaceId value. |
Similar |
withConfidence(double confidence)
Set the confidence value. |
Similar |
withFaceId(UUID faceId)
Set the faceId value. |
Similar |
withPersistedFaceId(UUID persistedFaceId)
Set the persistedFaceId value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
faceId
public UUID faceId()
Get the faceId value.
Returns:
persistedFaceId
public UUID persistedFaceId()
Get the persistedFaceId value.
Returns:
withConfidence
public SimilarFace withConfidence(double confidence)
Set the confidence value.
Parameters:
Returns:
withFaceId
public SimilarFace withFaceId(UUID faceId)
Set the faceId value.
Parameters:
Returns:
withPersistedFaceId
public SimilarFace withPersistedFaceId(UUID persistedFaceId)
Set the persistedFaceId value.
Parameters:
Returns:
Applies to
Azure SDK for Java