Class: Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack

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

Overview

The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.

Defined Under Namespace

Classes: RecognizedCelebrity

Instance Attribute Summary collapse

Instance Attribute Details

#celebrities::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack::RecognizedCelebrity>

Returns Top N match of the celebrities for the face in this track.

Returns:



434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 434

class CelebrityTrack
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The recognized celebrity with confidence score.
  # @!attribute [rw] celebrity
  #   @return [::Google::Cloud::VideoIntelligence::V1p3beta1::Celebrity]
  #     The recognized celebrity.
  # @!attribute [rw] confidence
  #   @return [::Float]
  #     Recognition confidence. Range [0, 1].
  class RecognizedCelebrity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#face_track::Google::Cloud::VideoIntelligence::V1p3beta1::Track

Returns A track of a person's face.

Returns:



434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 434

class CelebrityTrack
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The recognized celebrity with confidence score.
  # @!attribute [rw] celebrity
  #   @return [::Google::Cloud::VideoIntelligence::V1p3beta1::Celebrity]
  #     The recognized celebrity.
  # @!attribute [rw] confidence
  #   @return [::Float]
  #     Recognition confidence. Range [0, 1].
  class RecognizedCelebrity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end