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
#active_zone=
def active_zone=(value) -> ::Google::Cloud::VisionAI::V1::NormalizedPolygon
Parameter
- value (::Google::Cloud::VisionAI::V1::NormalizedPolygon) — Annotation for type ACTIVE_ZONE
Returns
- (::Google::Cloud::VisionAI::V1::NormalizedPolygon) — Annotation for type ACTIVE_ZONE
#crossing_line
def crossing_line() -> ::Google::Cloud::VisionAI::V1::NormalizedPolyline
Returns
- (::Google::Cloud::VisionAI::V1::NormalizedPolyline) — Annotation for type CROSSING_LINE
#crossing_line=
def crossing_line=(value) -> ::Google::Cloud::VisionAI::V1::NormalizedPolyline
Parameter
- value (::Google::Cloud::VisionAI::V1::NormalizedPolyline) — Annotation for type CROSSING_LINE
Returns
- (::Google::Cloud::VisionAI::V1::NormalizedPolyline) — Annotation for type CROSSING_LINE
#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
- (::Google::Cloud::VisionAI::V1::StreamAnnotationType) — The actual type of Annotation.
#type=
def type=(value) -> ::Google::Cloud::VisionAI::V1::StreamAnnotationType
Parameter
- value (::Google::Cloud::VisionAI::V1::StreamAnnotationType) — The actual type of Annotation.
Returns
- (::Google::Cloud::VisionAI::V1::StreamAnnotationType) — The actual type of Annotation.