Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/videointelligence_v1p1beta1/classes.rb,
lib/google/apis/videointelligence_v1p1beta1/representations.rb,
lib/google/apis/videointelligence_v1p1beta1/representations.rb
Overview
Face detection annotation.
Instance Attribute Summary collapse
-
#thumbnail ⇒ String
The thumbnail of a person's face.
-
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track>
The face tracks with attributes.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation.
2763 2764 2765 |
# File 'lib/google/apis/videointelligence_v1p1beta1/classes.rb', line 2763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#thumbnail ⇒ String
The thumbnail of a person's face.
Corresponds to the JSON property thumbnail
NOTE: Values are automatically base64 encoded/decoded in the client library.
2751 2752 2753 |
# File 'lib/google/apis/videointelligence_v1p1beta1/classes.rb', line 2751 def thumbnail @thumbnail end |
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track>
The face tracks with attributes.
Corresponds to the JSON property tracks
2756 2757 2758 |
# File 'lib/google/apis/videointelligence_v1p1beta1/classes.rb', line 2756 def tracks @tracks end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
2761 2762 2763 |
# File 'lib/google/apis/videointelligence_v1p1beta1/classes.rb', line 2761 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2768 2769 2770 2771 2772 |
# File 'lib/google/apis/videointelligence_v1p1beta1/classes.rb', line 2768 def update!(**args) @thumbnail = args[:thumbnail] if args.key?(:thumbnail) @tracks = args[:tracks] if args.key?(:tracks) @version = args[:version] if args.key?(:version) end |