Class: Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation

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

Overview

Label annotation.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Common categories for the detected entity. E.g. 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::V1beta2::Entity>)

    Common categories for the detected entity. E.g. 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.



220
221
222
223
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 220

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

#entity::Google::Cloud::VideoIntelligence::V1beta2::Entity

Returns Detected entity.

Returns:



220
221
222
223
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 220

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

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

Returns All video frames where a label was detected.

Returns:



220
221
222
223
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 220

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

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

Returns All video segments where a label was detected.

Returns:



220
221
222
223
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 220

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