Class StreamAnnotation (0.1.4)

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

message about annotations about Vision AI stream resource.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
active_zone google.cloud.visionai_v1alpha1.types.NormalizedPolygon
Annotation for type ACTIVE_ZONE This field is a member of oneof_ annotation_payload.
crossing_line google.cloud.visionai_v1alpha1.types.NormalizedPolyline
Annotation for type CROSSING_LINE This field is a member of oneof_ annotation_payload.
id str
ID of the annotation. It must be unique when used in the certain context. For example, all the annotations to one input streams of a Vision AI application.
display_name str
User-friendly name for the annotation.
source_stream str
The Vision AI stream resource name.
type_ google.cloud.visionai_v1alpha1.types.StreamAnnotationType
The actual type of Annotation.