Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::LogoRecognitionAnnotation.
Annotation corresponding to one detected, tracked and recognized logo class.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entity
def entity() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::Entity
Returns
- (::Google::Cloud::VideoIntelligence::V1p3beta1::Entity) — Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.
#entity=
def entity=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::Entity
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p3beta1::Entity) — Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.
Returns
- (::Google::Cloud::VideoIntelligence::V1p3beta1::Entity) — Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.
#segments
def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>) — All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.
#segments=
def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>) — All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>) — All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.
#tracks
def tracks() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Track>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Track>) — All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.
#tracks=
def tracks=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Track>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Track>) — All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Track>) — All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.