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:
the confidence value
faceId
public UUID faceId()
Get the faceId value.
Returns:
the faceId value
persistedFaceId
public UUID persistedFaceId()
Get the persistedFaceId value.
Returns:
the persistedFaceId value
withConfidence
public SimilarFace withConfidence(double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the SimilarFace object itself.
withFaceId
public SimilarFace withFaceId(UUID faceId)
Set the faceId value.
Parameters:
faceId
- the faceId value to set
Returns:
the SimilarFace object itself.
withPersistedFaceId
public SimilarFace withPersistedFaceId(UUID persistedFaceId)
Set the persistedFaceId value.
Parameters:
persistedFaceId
- the persistedFaceId value to set
Returns:
the SimilarFace object itself.