Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/videointelligence_v1p3beta1/classes.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Deprecated. No effect.
Instance Attribute Summary collapse
-
#frames ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame>
All video frames where a face was detected.
-
#segments ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment>
All video segments where a face was detected.
-
#thumbnail ⇒ String
Thumbnail of a representative face view (in JPEG format).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1FaceAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1FaceAnnotation.
4987 4988 4989 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4987 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frames ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame>
All video frames where a face was detected.
Corresponds to the JSON property frames
4974 4975 4976 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4974 def frames @frames end |
#segments ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment>
All video segments where a face was detected.
Corresponds to the JSON property segments
4979 4980 4981 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4979 def segments @segments end |
#thumbnail ⇒ String
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.
4985 4986 4987 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4985 def thumbnail @thumbnail end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4992 4993 4994 4995 4996 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4992 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 |