AIVisionFaceModelFactory.HairProperties Method

Definition

Initializes a new instance of HairProperties.

public static Azure.AI.Vision.Face.HairProperties HairProperties (float bald = 0, bool invisible = false, System.Collections.Generic.IEnumerable<Azure.AI.Vision.Face.HairColor> hairColor = default);
static member HairProperties : single * bool * seq<Azure.AI.Vision.Face.HairColor> -> Azure.AI.Vision.Face.HairProperties
Public Shared Function HairProperties (Optional bald As Single = 0, Optional invisible As Boolean = false, Optional hairColor As IEnumerable(Of HairColor) = Nothing) As HairProperties

Parameters

bald
Single

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
IEnumerable<HairColor>

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

Returns

A new HairProperties instance for mocking.

Applies to