Vision AI V1 API - Class Google::Cloud::VisionAI::V1::StreamAnnotation (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::StreamAnnotation.

message about annotations about Vision AI stream resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#active_zone

def active_zone() -> ::Google::Cloud::VisionAI::V1::NormalizedPolygon
Returns

#active_zone=

def active_zone=(value) -> ::Google::Cloud::VisionAI::V1::NormalizedPolygon
Parameter
Returns

#crossing_line

def crossing_line() -> ::Google::Cloud::VisionAI::V1::NormalizedPolyline
Returns

#crossing_line=

def crossing_line=(value) -> ::Google::Cloud::VisionAI::V1::NormalizedPolyline
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — User-friendly name for the annotation.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — User-friendly name for the annotation.
Returns
  • (::String) — User-friendly name for the annotation.

#id

def id() -> ::String
Returns
  • (::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.

#id=

def id=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#source_stream

def source_stream() -> ::String
Returns
  • (::String) — The Vision AI stream resource name.

#source_stream=

def source_stream=(value) -> ::String
Parameter
  • value (::String) — The Vision AI stream resource name.
Returns
  • (::String) — The Vision AI stream resource name.

#type

def type() -> ::Google::Cloud::VisionAI::V1::StreamAnnotationType
Returns

#type=

def type=(value) -> ::Google::Cloud::VisionAI::V1::StreamAnnotationType
Parameter
Returns