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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET