Package version:

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

interface HairColorOutput {
    color: string;
    confidence: number;
}

Properties

Properties

color: string

Name of the hair color.

confidence: number

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