class Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
Deprecated. No effect.
Attributes
frames[RW]
All video frames where a face was detected. Corresponds to the JSON property `frames` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceFrame>]
segments[RW]
All video segments where a face was detected. Corresponds to the JSON property `segments` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceSegment>]
thumbnail[RW]
Thumbnail of a representative face view (in JPEG format). Corresponds to the JSON property `thumbnail` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1/classes.rb, line 4143 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/videointelligence_v1/classes.rb, line 4148 def update!(**args) @frames = args[:frames] if args.key?(:frames) @segments = args[:segments] if args.key?(:segments) @thumbnail = args[:thumbnail] if args.key?(:thumbnail) end