Hair Constructors

Definition

Overloads

Hair()

Initializes a new instance of the Hair class.

Hair(Double, Boolean, IList<HairColor>)

Initializes a new instance of the Hair class.

Hair()

Source:
Hair.cs

Initializes a new instance of the Hair class.

public Hair ();
Public Sub New ()

Applies to

Hair(Double, Boolean, IList<HairColor>)

Source:
Hair.cs

Initializes a new instance of the Hair class.

public Hair (double bald = 0, bool invisible = false, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColor> hairColor = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.Hair : double * bool * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColor> -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.Hair
Public Sub New (Optional bald As Double = 0, Optional invisible As Boolean = false, Optional hairColor As IList(Of HairColor) = Nothing)

Parameters

bald
Double

A number describing confidence level of whether the person is bald.

invisible
Boolean

A boolean value describing whether the hair is visible in the image.

hairColor
IList<HairColor>

An array of candidate colors and confidence level in the presence of each.

Applies to