AIVisionFaceModelFactory.HairColor(HairColorType, Single) 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 HairColor.
public static Azure.AI.Vision.Face.HairColor HairColor(Azure.AI.Vision.Face.HairColorType color = default, float confidence = 0);
static member HairColor : Azure.AI.Vision.Face.HairColorType * single -> Azure.AI.Vision.Face.HairColor
Public Shared Function HairColor (Optional color As HairColorType = Nothing, Optional confidence As Single = 0) As HairColor
Parameters
- color
- HairColorType
Name of the hair color.
- confidence
- Single
Confidence level of the color. Range between [0,1].
Returns
A new HairColor instance for mocking.