FaceAttributes Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. FaceAttributes
- com.
public class FaceAttributes
Face Attributes.
Method Summary
Method Details
accessories
public List
Get the accessories value.
Returns:
age
public Double age()
Get the age value.
Returns:
blur
public Blur blur()
Get the blur value.
Returns:
emotion
public Emotion emotion()
Get the emotion value.
Returns:
exposure
public Exposure exposure()
Get the exposure value.
Returns:
facialHair
public FacialHair facialHair()
Get the facialHair value.
Returns:
gender
public Gender gender()
Get the gender value.
Returns:
glasses
public GlassesType glasses()
Get the glasses value.
Returns:
hair
public Hair hair()
Get the hair value.
Returns:
headPose
public HeadPose headPose()
Get the headPose value.
Returns:
makeup
public Makeup makeup()
Get the makeup value.
Returns:
noise
public Noise noise()
Get the noise value.
Returns:
occlusion
public Occlusion occlusion()
Get the occlusion value.
Returns:
smile
public Double smile()
Get the smile value.
Returns:
withAccessories
public FaceAttributes withAccessories(List
Set the accessories value.
Parameters:
Returns:
withAge
public FaceAttributes withAge(Double age)
Set the age value.
Parameters:
Returns:
withBlur
public FaceAttributes withBlur(Blur blur)
Set the blur value.
Parameters:
Returns:
withEmotion
public FaceAttributes withEmotion(Emotion emotion)
Set the emotion value.
Parameters:
Returns:
withExposure
public FaceAttributes withExposure(Exposure exposure)
Set the exposure value.
Parameters:
Returns:
withFacialHair
public FaceAttributes withFacialHair(FacialHair facialHair)
Set the facialHair value.
Parameters:
Returns:
withGender
public FaceAttributes withGender(Gender gender)
Set the gender value.
Parameters:
Returns:
withGlasses
public FaceAttributes withGlasses(GlassesType glasses)
Set the glasses value.
Parameters:
Returns:
withHair
public FaceAttributes withHair(Hair hair)
Set the hair value.
Parameters:
Returns:
withHeadPose
public FaceAttributes withHeadPose(HeadPose headPose)
Set the headPose value.
Parameters:
Returns:
withMakeup
public FaceAttributes withMakeup(Makeup makeup)
Set the makeup value.
Parameters:
Returns:
withNoise
public FaceAttributes withNoise(Noise noise)
Set the noise value.
Parameters:
Returns:
withOcclusion
public FaceAttributes withOcclusion(Occlusion occlusion)
Set the occlusion value.
Parameters:
Returns:
withSmile
public FaceAttributes withSmile(Double smile)
Set the smile value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários