Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame
- 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
-
#normalized_bounding_boxes ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>
Normalized Bounding boxes in a frame.
-
#time_offset ⇒ String
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p2beta1FaceFrame
constructor
A new instance of GoogleCloudVideointelligenceV1p2beta1FaceFrame.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p2beta1FaceFrame
Returns a new instance of GoogleCloudVideointelligenceV1p2beta1FaceFrame.
3730 3731 3732 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 3730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#normalized_bounding_boxes ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>
Normalized Bounding boxes in a frame. There can be more than one boxes if the
same face is detected in multiple locations within the current frame.
Corresponds to the JSON property normalizedBoundingBoxes
3722 3723 3724 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 3722 def normalized_bounding_boxes @normalized_bounding_boxes end |
#time_offset ⇒ String
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
Corresponds to the JSON property timeOffset
3728 3729 3730 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 3728 def time_offset @time_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3735 3736 3737 3738 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 3735 def update!(**args) @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) @time_offset = args[:time_offset] if args.key?(:time_offset) end |