HairColor Constructors
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.
Overloads
HairColor() |
Initializes a new instance of the HairColor class. |
HairColor(HairColorType, Double) |
Initializes a new instance of the HairColor class. |
HairColor()
- Source:
- HairColor.cs
Initializes a new instance of the HairColor class.
public HairColor ();
Public Sub New ()
Applies to
HairColor(HairColorType, Double)
- Source:
- HairColor.cs
Initializes a new instance of the HairColor class.
public HairColor (Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColorType color = Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColorType.Unknown, double confidence = 0);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColor : Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColorType * double -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColor
Public Sub New (Optional color As HairColorType = Microsoft.Azure.CognitiveServices.Vision.Face.Models.HairColorType.Unknown, Optional confidence As Double = 0)
Parameters
- color
- HairColorType
Name of the hair color. Possible values include: 'unknown', 'white', 'gray', 'blond', 'brown', 'red', 'black', 'other'
- confidence
- Double
Confidence level of the color
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