Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation.
Label annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#category_entities
def category_entities() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::Entity>
Returns
-
(::Array<::Google::Cloud::VideoIntelligence::V1beta2::Entity>) — Common categories for the detected entity.
E.g. when the label is
Terrier
the category is likelydog
. And in some cases there might be more than one categories e.g.Terrier
could also be apet
.
#category_entities=
def category_entities=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::Entity>
Parameter
-
value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::Entity>) — Common categories for the detected entity.
E.g. when the label is
Terrier
the category is likelydog
. And in some cases there might be more than one categories e.g.Terrier
could also be apet
.
Returns
-
(::Array<::Google::Cloud::VideoIntelligence::V1beta2::Entity>) — Common categories for the detected entity.
E.g. when the label is
Terrier
the category is likelydog
. And in some cases there might be more than one categories e.g.Terrier
could also be apet
.
#entity
def entity() -> ::Google::Cloud::VideoIntelligence::V1beta2::Entity
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::Entity) — Detected entity.
#entity=
def entity=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::Entity
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::Entity) — Detected entity.
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::Entity) — Detected entity.
#frames
def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>) — All video frames where a label was detected.
#frames=
def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>) — All video frames where a label was detected.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>) — All video frames where a label was detected.
#segments
def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>) — All video segments where a label was detected.
#segments=
def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>) — All video segments where a label was detected.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>) — All video segments where a label was detected.