Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Config for FACE_DETECTION.
Instance Attribute Summary collapse
-
#include_attributes ⇒ Boolean
(also: #include_attributes?)
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc.
-
#include_bounding_boxes ⇒ Boolean
(also: #include_bounding_boxes?)
Whether bounding boxes be included in the face annotation output.
-
#model ⇒ String
Model to use for face detection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig.
3678 3679 3680 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 3678 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_attributes ⇒ Boolean Also known as: include_attributes?
Whether to enable face attributes detection, such as glasses, dark_glasses,
mouth_open etc. Ignored if 'include_bounding_boxes' is false.
Corresponds to the JSON property includeAttributes
3662 3663 3664 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 3662 def include_attributes @include_attributes end |
#include_bounding_boxes ⇒ Boolean Also known as: include_bounding_boxes?
Whether bounding boxes be included in the face annotation output.
Corresponds to the JSON property includeBoundingBoxes
3668 3669 3670 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 3668 def include_bounding_boxes @include_bounding_boxes end |
#model ⇒ String
Model to use for face detection.
Supported values: "builtin/stable" (the default if unset) and
"builtin/latest".
Corresponds to the JSON property model
3676 3677 3678 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 3676 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3683 3684 3685 3686 3687 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 3683 def update!(**args) @include_attributes = args[:include_attributes] if args.key?(:include_attributes) @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes) @model = args[:model] if args.key?(:model) end |