Hair Class

Properties describing hair attributes.

Inheritance
Hair

Constructor

Hair(*, bald: Optional[float] = None, invisible: Optional[bool] = None, hair_color=None, **kwargs)

Parameters

bald
float
Required

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

invisible
bool
Required

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

hair_color
list[HairColor]
Required

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