Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::LabelAnnotation (v0.9.1)

Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::LabelAnnotation.

Label annotation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#category_entities

def category_entities() -> ::Array<::Google::Cloud::VideoIntelligence::V1::Entity>
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.

#category_entities=

def category_entities=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::Entity>
Parameter
  • value (::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.
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.

#entity

def entity() -> ::Google::Cloud::VideoIntelligence::V1::Entity
Returns

#entity=

def entity=(value) -> ::Google::Cloud::VideoIntelligence::V1::Entity
Parameter
Returns

#frames

def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelFrame>
Returns

#frames=

def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelFrame>
Parameter
Returns

#segments

def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelSegment>
Returns

#segments=

def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelSegment>
Parameter
Returns

#version

def version() -> ::String
Returns
  • (::String) — Feature version.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Feature version.
Returns
  • (::String) — Feature version.