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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
- (::String) — User-friendly name for the annotation.
#display_name=
def display_name=(value) -> ::String
- value (::String) — User-friendly name for the annotation.
- (::String) — User-friendly name for the annotation.
#id
def id() -> ::String
- (::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
- 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.
- (::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
- (::String) — The Vision AI stream resource name.
#source_stream=
def source_stream=(value) -> ::String
- value (::String) — The Vision AI stream resource name.
- (::String) — The Vision AI stream resource name.
#type
def type() -> ::Google::Cloud::VisionAI::V1::StreamAnnotationType
- (::Google::Cloud::VisionAI::V1::StreamAnnotationType) — The actual type of Annotation.
#type=
def type=(value) -> ::Google::Cloud::VisionAI::V1::StreamAnnotationType
- value (::Google::Cloud::VisionAI::V1::StreamAnnotationType) — The actual type of Annotation.
- (::Google::Cloud::VisionAI::V1::StreamAnnotationType) — The actual type of Annotation.