Aracılığıyla paylaş


DetectedFace Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.DetectedFace

public class DetectedFace

Detected Face object.

Method Summary

Modifier and Type Method and Description
FaceAttributes faceAttributes()

Get the faceAttributes value.

UUID faceId()

Get the faceId value.

FaceLandmarks faceLandmarks()

Get the faceLandmarks value.

FaceRectangle faceRectangle()

Get the faceRectangle value.

DetectedFace withFaceAttributes(FaceAttributes faceAttributes)

Set the faceAttributes value.

DetectedFace withFaceId(UUID faceId)

Set the faceId value.

DetectedFace withFaceLandmarks(FaceLandmarks faceLandmarks)

Set the faceLandmarks value.

DetectedFace withFaceRectangle(FaceRectangle faceRectangle)

Set the faceRectangle value.

Method Details

faceAttributes

public FaceAttributes faceAttributes()

Get the faceAttributes value.

Returns:

the faceAttributes value

faceId

public UUID faceId()

Get the faceId value.

Returns:

the faceId value

faceLandmarks

public FaceLandmarks faceLandmarks()

Get the faceLandmarks value.

Returns:

the faceLandmarks value

faceRectangle

public FaceRectangle faceRectangle()

Get the faceRectangle value.

Returns:

the faceRectangle value

withFaceAttributes

public DetectedFace withFaceAttributes(FaceAttributes faceAttributes)

Set the faceAttributes value.

Parameters:

faceAttributes - the faceAttributes value to set

Returns:

the DetectedFace object itself.

withFaceId

public DetectedFace withFaceId(UUID faceId)

Set the faceId value.

Parameters:

faceId - the faceId value to set

Returns:

the DetectedFace object itself.

withFaceLandmarks

public DetectedFace withFaceLandmarks(FaceLandmarks faceLandmarks)

Set the faceLandmarks value.

Parameters:

faceLandmarks - the faceLandmarks value to set

Returns:

the DetectedFace object itself.

withFaceRectangle

public DetectedFace withFaceRectangle(FaceRectangle faceRectangle)

Set the faceRectangle value.

Parameters:

faceRectangle - the faceRectangle value to set

Returns:

the DetectedFace object itself.

Applies to