class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation
Label annotation.
Attributes
Common categories for the detected entity. For example, when the label is ` Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`. Corresponds to the JSON property `categoryEntities` @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Entity>]
Detected entity from video analysis. Corresponds to the JSON property `entity` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Entity]
All video frames where a label was detected. Corresponds to the JSON property `frames` @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelFrame>]
All video segments where a label was detected. Corresponds to the JSON property `segments` @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelSegment>]
Feature version. Corresponds to the JSON property `version` @return [String]
Public Class Methods
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 359 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 364 def update!(**args) @category_entities = args[:category_entities] if args.key?(:category_entities) @entity = args[:entity] if args.key?(:entity) @frames = args[:frames] if args.key?(:frames) @segments = args[:segments] if args.key?(:segments) @version = args[:version] if args.key?(:version) end