Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
 
- 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
Video frame level annotation results for face detection.
Instance Attribute Summary collapse
- 
  
    
      #attributes  ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Face attributes 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)  ⇒ GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
| 1488 1489 1490 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1488 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#attributes ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute>
Face attributes in a frame.
There can be more than one attributes if the same face is detected in
multiple locations within the current frame.
Corresponds to the JSON property attributes
| 1480 1481 1482 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1480 def attributes @attributes 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
| 1486 1487 1488 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1486 def time_offset @time_offset end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1493 1494 1495 1496 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1493 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @time_offset = args[:time_offset] if args.key?(:time_offset) end |