Class DetectedAttribute (2.13.4)

DetectedAttribute(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A generic detected attribute represented by name in string format.

Attributes

Name Description
name str
The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.
confidence float
Detected attribute confidence. Range [0, 1].
value str
Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.