Package version:

Properties describing hair attributes.

interface HairPropertiesOutput {
    bald: number;
    hairColor: Array<HairColorOutput>;
    invisible: boolean;
}

Properties

bald: number

A number describing confidence level of whether the person is bald.

hairColor: Array<HairColorOutput>

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

invisible: boolean

A boolean value describing whether the hair is visible in the image.