Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceFrame

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/videointelligence_v1/classes.rb,
generated/google/apis/videointelligence_v1/representations.rb,
generated/google/apis/videointelligence_v1/representations.rb

Overview

Deprecated. No effect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceFrame

Returns a new instance of GoogleCloudVideointelligenceV1p3beta1FaceFrame.



5433
5434
5435
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5433

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#normalized_bounding_boxesArray<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>

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



5425
5426
5427
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5425

def normalized_bounding_boxes
  @normalized_bounding_boxes
end

#time_offsetString

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location. Corresponds to the JSON property timeOffset

Returns:

  • (String)


5431
5432
5433
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5431

def time_offset
  @time_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5438
5439
5440
5441
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5438

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