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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET