FaceAttributes Constructors

Definition

Overloads

FaceAttributes()

Initializes a new instance of the FaceAttributes class.

FaceAttributes(Nullable<Double>, Nullable<Gender>, Nullable<Double>, FacialHair, Nullable<GlassesType>, HeadPose, Emotion, Hair, Makeup, Occlusion, IList<Accessory>, Blur, Exposure, Noise, Mask, Nullable<QualityForRecognition>)

FaceAttributes()

Source:
FaceAttributes.cs

Initializes a new instance of the FaceAttributes class.

public FaceAttributes ();
Public Sub New ()

Applies to

FaceAttributes(Nullable<Double>, Nullable<Gender>, Nullable<Double>, FacialHair, Nullable<GlassesType>, HeadPose, Emotion, Hair, Makeup, Occlusion, IList<Accessory>, Blur, Exposure, Noise, Mask, Nullable<QualityForRecognition>)

Source:
FaceAttributes.cs
public FaceAttributes (double? age = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Gender? gender = default, double? smile = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.FacialHair facialHair = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.GlassesType? glasses = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.HeadPose headPose = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Emotion emotion = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Hair hair = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Makeup makeup = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Occlusion occlusion = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Accessory> accessories = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Blur blur = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Exposure exposure = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Noise noise = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.Mask mask = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.QualityForRecognition? qualityForRecognition = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributes : Nullable<double> * Nullable<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Gender> * Nullable<double> * Microsoft.Azure.CognitiveServices.Vision.Face.Models.FacialHair * Nullable<Microsoft.Azure.CognitiveServices.Vision.Face.Models.GlassesType> * Microsoft.Azure.CognitiveServices.Vision.Face.Models.HeadPose * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Emotion * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Hair * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Makeup * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Occlusion * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Accessory> * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Blur * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Exposure * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Noise * Microsoft.Azure.CognitiveServices.Vision.Face.Models.Mask * Nullable<Microsoft.Azure.CognitiveServices.Vision.Face.Models.QualityForRecognition> -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributes
Public Sub New (Optional age As Nullable(Of Double) = Nothing, Optional gender As Nullable(Of Gender) = Nothing, Optional smile As Nullable(Of Double) = Nothing, Optional facialHair As FacialHair = Nothing, Optional glasses As Nullable(Of GlassesType) = Nothing, Optional headPose As HeadPose = Nothing, Optional emotion As Emotion = Nothing, Optional hair As Hair = Nothing, Optional makeup As Makeup = Nothing, Optional occlusion As Occlusion = Nothing, Optional accessories As IList(Of Accessory) = Nothing, Optional blur As Blur = Nothing, Optional exposure As Exposure = Nothing, Optional noise As Noise = Nothing, Optional mask As Mask = Nothing, Optional qualityForRecognition As Nullable(Of QualityForRecognition) = Nothing)

Parameters

gender
Nullable<Gender>
smile
Nullable<Double>
facialHair
FacialHair
headPose
HeadPose
emotion
Emotion
hair
Hair
makeup
Makeup
occlusion
Occlusion
accessories
IList<Accessory>
blur
Blur
exposure
Exposure
noise
Noise
mask
Mask
qualityForRecognition
Nullable<QualityForRecognition>

Applies to