Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1beta2/classes.rb,
 generated/google/apis/videointelligence_v1beta2/representations.rb,
 generated/google/apis/videointelligence_v1beta2/representations.rb
Overview
Face detection attribute.
Instance Attribute Summary collapse
- 
  
    
      #emotions  ⇒ Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1EmotionAttribute> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Emotion attributes. 
- 
  
    
      #normalized_bounding_box  ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Normalized bounding box. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
| 1460 1461 1462 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1460 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#emotions ⇒ Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1EmotionAttribute>
Emotion attributes.
Corresponds to the JSON property emotions
| 1451 1452 1453 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1451 def emotions @emotions end | 
#normalized_bounding_box ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
Normalized bounding box.
The normalized vertex coordinates are relative to the original image.
Range: [0, 1].
Corresponds to the JSON property normalizedBoundingBox
| 1458 1459 1460 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1458 def normalized_bounding_box @normalized_bounding_box end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1465 1466 1467 1468 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1465 def update!(**args) @emotions = args[:emotions] if args.key?(:emotions) @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box) end |