DetectedFace Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. DetectedFace
- com.
public class DetectedFace
Detected Face object.
Method Summary
Modifier and Type | Method and Description |
---|---|
Face |
faceAttributes()
Get the faceAttributes value. |
UUID |
faceId()
Get the faceId value. |
Face |
faceLandmarks()
Get the faceLandmarks value. |
Face |
faceRectangle()
Get the faceRectangle value. |
Detected |
withFaceAttributes(FaceAttributes faceAttributes)
Set the faceAttributes value. |
Detected |
withFaceId(UUID faceId)
Set the faceId value. |
Detected |
withFaceLandmarks(FaceLandmarks faceLandmarks)
Set the faceLandmarks value. |
Detected |
withFaceRectangle(FaceRectangle faceRectangle)
Set the faceRectangle value. |
Method Details
faceAttributes
public FaceAttributes faceAttributes()
Get the faceAttributes value.
Returns:
faceId
public UUID faceId()
Get the faceId value.
Returns:
faceLandmarks
public FaceLandmarks faceLandmarks()
Get the faceLandmarks value.
Returns:
faceRectangle
public FaceRectangle faceRectangle()
Get the faceRectangle value.
Returns:
withFaceAttributes
public DetectedFace withFaceAttributes(FaceAttributes faceAttributes)
Set the faceAttributes value.
Parameters:
Returns:
withFaceId
public DetectedFace withFaceId(UUID faceId)
Set the faceId value.
Parameters:
Returns:
withFaceLandmarks
public DetectedFace withFaceLandmarks(FaceLandmarks faceLandmarks)
Set the faceLandmarks value.
Parameters:
Returns:
withFaceRectangle
public DetectedFace withFaceRectangle(FaceRectangle faceRectangle)
Set the faceRectangle value.
Parameters:
Returns:
Applies to
Azure SDK for Java