FaceAttributes Class

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

public class FaceAttributes

Face Attributes.

Method Summary

Modifier and Type Method and Description
List<Accessory> accessories()

Get the accessories value.

Double age()

Get the age value.

Blur blur()

Get the blur value.

Emotion emotion()

Get the emotion value.

Exposure exposure()

Get the exposure value.

FacialHair facialHair()

Get the facialHair value.

Gender gender()

Get the gender value.

GlassesType glasses()

Get the glasses value.

Hair hair()

Get the hair value.

HeadPose headPose()

Get the headPose value.

Makeup makeup()

Get the makeup value.

Noise noise()

Get the noise value.

Occlusion occlusion()

Get the occlusion value.

Double smile()

Get the smile value.

FaceAttributes withAccessories(List<Accessory> accessories)

Set the accessories value.

FaceAttributes withAge(Double age)

Set the age value.

FaceAttributes withBlur(Blur blur)

Set the blur value.

FaceAttributes withEmotion(Emotion emotion)

Set the emotion value.

FaceAttributes withExposure(Exposure exposure)

Set the exposure value.

FaceAttributes withFacialHair(FacialHair facialHair)

Set the facialHair value.

FaceAttributes withGender(Gender gender)

Set the gender value.

FaceAttributes withGlasses(GlassesType glasses)

Set the glasses value.

FaceAttributes withHair(Hair hair)

Set the hair value.

FaceAttributes withHeadPose(HeadPose headPose)

Set the headPose value.

FaceAttributes withMakeup(Makeup makeup)

Set the makeup value.

FaceAttributes withNoise(Noise noise)

Set the noise value.

FaceAttributes withOcclusion(Occlusion occlusion)

Set the occlusion value.

FaceAttributes withSmile(Double smile)

Set the smile value.

Method Details

accessories

public List accessories()

Get the accessories value.

Returns:

the accessories value

age

public Double age()

Get the age value.

Returns:

the age value

blur

public Blur blur()

Get the blur value.

Returns:

the blur value

emotion

public Emotion emotion()

Get the emotion value.

Returns:

the emotion value

exposure

public Exposure exposure()

Get the exposure value.

Returns:

the exposure value

facialHair

public FacialHair facialHair()

Get the facialHair value.

Returns:

the facialHair value

gender

public Gender gender()

Get the gender value.

Returns:

the gender value

glasses

public GlassesType glasses()

Get the glasses value.

Returns:

the glasses value

hair

public Hair hair()

Get the hair value.

Returns:

the hair value

headPose

public HeadPose headPose()

Get the headPose value.

Returns:

the headPose value

makeup

public Makeup makeup()

Get the makeup value.

Returns:

the makeup value

noise

public Noise noise()

Get the noise value.

Returns:

the noise value

occlusion

public Occlusion occlusion()

Get the occlusion value.

Returns:

the occlusion value

smile

public Double smile()

Get the smile value.

Returns:

the smile value

withAccessories

public FaceAttributes withAccessories(List accessories)

Set the accessories value.

Parameters:

accessories - the accessories value to set

Returns:

the FaceAttributes object itself.

withAge

public FaceAttributes withAge(Double age)

Set the age value.

Parameters:

age - the age value to set

Returns:

the FaceAttributes object itself.

withBlur

public FaceAttributes withBlur(Blur blur)

Set the blur value.

Parameters:

blur - the blur value to set

Returns:

the FaceAttributes object itself.

withEmotion

public FaceAttributes withEmotion(Emotion emotion)

Set the emotion value.

Parameters:

emotion - the emotion value to set

Returns:

the FaceAttributes object itself.

withExposure

public FaceAttributes withExposure(Exposure exposure)

Set the exposure value.

Parameters:

exposure - the exposure value to set

Returns:

the FaceAttributes object itself.

withFacialHair

public FaceAttributes withFacialHair(FacialHair facialHair)

Set the facialHair value.

Parameters:

facialHair - the facialHair value to set

Returns:

the FaceAttributes object itself.

withGender

public FaceAttributes withGender(Gender gender)

Set the gender value.

Parameters:

gender - the gender value to set

Returns:

the FaceAttributes object itself.

withGlasses

public FaceAttributes withGlasses(GlassesType glasses)

Set the glasses value.

Parameters:

glasses - the glasses value to set

Returns:

the FaceAttributes object itself.

withHair

public FaceAttributes withHair(Hair hair)

Set the hair value.

Parameters:

hair - the hair value to set

Returns:

the FaceAttributes object itself.

withHeadPose

public FaceAttributes withHeadPose(HeadPose headPose)

Set the headPose value.

Parameters:

headPose - the headPose value to set

Returns:

the FaceAttributes object itself.

withMakeup

public FaceAttributes withMakeup(Makeup makeup)

Set the makeup value.

Parameters:

makeup - the makeup value to set

Returns:

the FaceAttributes object itself.

withNoise

public FaceAttributes withNoise(Noise noise)

Set the noise value.

Parameters:

noise - the noise value to set

Returns:

the FaceAttributes object itself.

withOcclusion

public FaceAttributes withOcclusion(Occlusion occlusion)

Set the occlusion value.

Parameters:

occlusion - the occlusion value to set

Returns:

the FaceAttributes object itself.

withSmile

public FaceAttributes withSmile(Double smile)

Set the smile value.

Parameters:

smile - the smile value to set

Returns:

the FaceAttributes object itself.

Applies to