Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack.
The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#celebrities
def celebrities() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack::RecognizedCelebrity>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack::RecognizedCelebrity>) — Top N match of the celebrities for the face in this track.
#celebrities=
def celebrities=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack::RecognizedCelebrity>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack::RecognizedCelebrity>) — Top N match of the celebrities for the face in this track.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::CelebrityTrack::RecognizedCelebrity>) — Top N match of the celebrities for the face in this track.
#face_track
def face_track() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::Track
Returns
- (::Google::Cloud::VideoIntelligence::V1p3beta1::Track) — A track of a person's face.
#face_track=
def face_track=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::Track
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p3beta1::Track) — A track of a person's face.
Returns
- (::Google::Cloud::VideoIntelligence::V1p3beta1::Track) — A track of a person's face.