AIVisionFaceModelFactory.HairProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET