FacialHair Class

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

public class FacialHair

Properties describing facial hair attributes.

Method Summary

Modifier and Type Method and Description
double beard()

Get the beard value.

double moustache()

Get the moustache value.

double sideburns()

Get the sideburns value.

FacialHair withBeard(double beard)

Set the beard value.

FacialHair withMoustache(double moustache)

Set the moustache value.

FacialHair withSideburns(double sideburns)

Set the sideburns value.

Method Details

beard

public double beard()

Get the beard value.

Returns:

the beard value

moustache

public double moustache()

Get the moustache value.

Returns:

the moustache value

sideburns

public double sideburns()

Get the sideburns value.

Returns:

the sideburns value

withBeard

public FacialHair withBeard(double beard)

Set the beard value.

Parameters:

beard - the beard value to set

Returns:

the FacialHair object itself.

withMoustache

public FacialHair withMoustache(double moustache)

Set the moustache value.

Parameters:

moustache - the moustache value to set

Returns:

the FacialHair object itself.

withSideburns

public FacialHair withSideburns(double sideburns)

Set the sideburns value.

Parameters:

sideburns - the sideburns value to set

Returns:

the FacialHair object itself.

Applies to