Vision AI V1 API - Class Google::Cloud::VisionAI::V1::StreamAnnotation (v0.4.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
  • (::Google::Cloud::VisionAI::V1::NormalizedPolygon) — Annotation for type ACTIVE_ZONE

    Note: The following fields are mutually exclusive: active_zone, crossing_line. If a field in that set is populated, all other fields in the set will automatically be cleared.

#active_zone=

def active_zone=(value) -> ::Google::Cloud::VisionAI::V1::NormalizedPolygon
Parameter
  • value (::Google::Cloud::VisionAI::V1::NormalizedPolygon) — Annotation for type ACTIVE_ZONE

    Note: The following fields are mutually exclusive: active_zone, crossing_line. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VisionAI::V1::NormalizedPolygon) — Annotation for type ACTIVE_ZONE

    Note: The following fields are mutually exclusive: active_zone, crossing_line. If a field in that set is populated, all other fields in the set will automatically be cleared.

#crossing_line

def crossing_line() -> ::Google::Cloud::VisionAI::V1::NormalizedPolyline
Returns
  • (::Google::Cloud::VisionAI::V1::NormalizedPolyline) — Annotation for type CROSSING_LINE

    Note: The following fields are mutually exclusive: crossing_line, active_zone. If a field in that set is populated, all other fields in the set will automatically be cleared.

#crossing_line=

def crossing_line=(value) -> ::Google::Cloud::VisionAI::V1::NormalizedPolyline
Parameter
  • value (::Google::Cloud::VisionAI::V1::NormalizedPolyline) — Annotation for type CROSSING_LINE

    Note: The following fields are mutually exclusive: crossing_line, active_zone. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VisionAI::V1::NormalizedPolyline) — Annotation for type CROSSING_LINE

    Note: The following fields are mutually exclusive: crossing_line, active_zone. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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