Class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p2beta1/classes.rb,
generated/google/apis/videointelligence_v1p2beta1/representations.rb,
generated/google/apis/videointelligence_v1p2beta1/representations.rb
Overview
Face detection annotation.
Instance Attribute Summary collapse
-
#thumbnail ⇒ String
The thumbnail of a person's face.
-
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track>
The face tracks with attributes.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1FaceDetectionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1FaceDetectionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1FaceDetectionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1FaceDetectionAnnotation.
270 271 272 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 270 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.
258 259 260 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 258 def thumbnail @thumbnail end |
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track>
The face tracks with attributes.
Corresponds to the JSON property tracks
263 264 265 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 263 def tracks @tracks end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
268 269 270 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 268 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
275 276 277 278 279 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 275 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 |