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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET