Class: Google::Cloud::VideoIntelligence::V1::LabelAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb

Overview

Label annotation.

Instance Attribute Summary collapse

Instance Attribute Details

#category_entities::Array<::Google::Cloud::VideoIntelligence::V1::Entity>

Returns 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.

Returns:

  • (::Array<::Google::Cloud::VideoIntelligence::V1::Entity>)

    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.



305
306
307
308
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 305

class LabelAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#entity::Google::Cloud::VideoIntelligence::V1::Entity

Returns Detected entity.

Returns:



305
306
307
308
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 305

class LabelAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#frames::Array<::Google::Cloud::VideoIntelligence::V1::LabelFrame>

Returns All video frames where a label was detected.

Returns:



305
306
307
308
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 305

class LabelAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#segments::Array<::Google::Cloud::VideoIntelligence::V1::LabelSegment>

Returns All video segments where a label was detected.

Returns:



305
306
307
308
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 305

class LabelAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version::String

Returns Feature version.

Returns:

  • (::String)

    Feature version.



305
306
307
308
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 305

class LabelAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end