Jaa


FaceDescription Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.FaceDescription

public class FaceDescription

An object describing a face identified in the image.

Method Summary

Modifier and Type Method and Description
int age()

Get the age value.

FaceRectangle faceRectangle()

Get the faceRectangle value.

Gender gender()

Get the gender value.

FaceDescription withAge(int age)

Set the age value.

FaceDescription withFaceRectangle(FaceRectangle faceRectangle)

Set the faceRectangle value.

FaceDescription withGender(Gender gender)

Set the gender value.

Method Details

age

public int age()

Get the age value.

Returns:

the age value

faceRectangle

public FaceRectangle faceRectangle()

Get the faceRectangle value.

Returns:

the faceRectangle value

gender

public Gender gender()

Get the gender value.

Returns:

the gender value

withAge

public FaceDescription withAge(int age)

Set the age value.

Parameters:

age - the age value to set

Returns:

the FaceDescription object itself.

withFaceRectangle

public FaceDescription withFaceRectangle(FaceRectangle faceRectangle)

Set the faceRectangle value.

Parameters:

faceRectangle - the faceRectangle value to set

Returns:

the FaceDescription object itself.

withGender

public FaceDescription withGender(Gender gender)

Set the gender value.

Parameters:

gender - the gender value to set

Returns:

the FaceDescription object itself.

Applies to