Class LabelAnnotation (2.12.0)

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

Label annotation.

Attributes

NameDescription
entity google.cloud.videointelligence_v1p2beta1.types.Entity
Detected entity.
category_entities MutableSequence[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 MutableSequence[google.cloud.videointelligence_v1p2beta1.types.LabelSegment]
All video segments where a label was detected.
frames MutableSequence[google.cloud.videointelligence_v1p2beta1.types.LabelFrame]
All video frames where a label was detected.