Share via


HairColorOutput interface

An array of candidate colors and confidence level in the presence of each.

Properties

color

Name of the hair color.

Possible values: "unknown", "white", "gray", "blond", "brown", "red", "black", "other"

confidence

Confidence level of the color. Range between [0,1].

Property Details

color

Name of the hair color.

Possible values: "unknown", "white", "gray", "blond", "brown", "red", "black", "other"

color: string

Property Value

string

confidence

Confidence level of the color. Range between [0,1].

confidence: number

Property Value

number