class Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation

Annotation corresponding to one detected, tracked and recognized logo class.

Attributes

entity[RW]

Detected entity from video analysis. Corresponds to the JSON property `entity` @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity]

segments[RW]

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment. Corresponds to the JSON property `segments` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]

tracks[RW]

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames. Corresponds to the JSON property `tracks` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1/classes.rb, line 623
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/videointelligence_v1/classes.rb, line 628
def update!(**args)
  @entity = args[:entity] if args.key?(:entity)
  @segments = args[:segments] if args.key?(:segments)
  @tracks = args[:tracks] if args.key?(:tracks)
end