Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Deprecated. No effect.
Instance Attribute Summary collapse
-
#frames ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame>
All video frames where a face was detected.
-
#segments ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment>
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) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p1beta1FaceAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceAnnotation.
2526 2527 2528 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2526 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frames ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame>
All video frames where a face was detected.
Corresponds to the JSON property frames
2513 2514 2515 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2513 def frames @frames end |
#segments ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment>
All video segments where a face was detected.
Corresponds to the JSON property segments
2518 2519 2520 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2518 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.
2524 2525 2526 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2524 def thumbnail @thumbnail end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2531 2532 2533 2534 2535 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2531 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 |