Class LabelAnnotation (2.6.1)

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

Label annotation.

Attributes

NameDescription
entity google.cloud.videointelligence_v1p2beta1.types.Entity
Detected entity.
category_entities Sequence[google.cloud.videointelligence_v1p2beta1.types.Entity]
Common categories for the detected entity. E.g. when the label is Terrier the category is likely dog. And in some cases there might be more than one categories e.g. Terrier could also be a pet.
segments Sequence[google.cloud.videointelligence_v1p2beta1.types.LabelSegment]
All video segments where a label was detected.
frames Sequence[google.cloud.videointelligence_v1p2beta1.types.LabelFrame]
All video frames where a label was detected.