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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET