Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class StreamAnnotation.
message about annotations about Vision AI stream resource.
Generated from protobuf message google.cloud.visionai.v1.StreamAnnotation
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ active_zone
↳ crossing_line
↳ id
string
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
string
User-friendly name for the annotation.
↳ source_stream
string
The Vision AI stream resource name.
↳ type
int
The actual type of Annotation.
getActiveZone
Annotation for type ACTIVE_ZONE
hasActiveZone
setActiveZone
Annotation for type ACTIVE_ZONE
$this
getCrossingLine
Annotation for type CROSSING_LINE
hasCrossingLine
setCrossingLine
Annotation for type CROSSING_LINE
$this
getId
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.
string
setId
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.
var
string
$this
getDisplayName
User-friendly name for the annotation.
string
setDisplayName
User-friendly name for the annotation.
var
string
$this
getSourceStream
The Vision AI stream resource name.
string
setSourceStream
The Vision AI stream resource name.
var
string
$this
getType
The actual type of Annotation.
setType
The actual type of Annotation.
$this
getAnnotationPayload
string

