class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig
Config for FACE_DETECTION.
Attributes
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false. Corresponds to the JSON property `includeAttributes` @return [Boolean]
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false. Corresponds to the JSON property `includeAttributes` @return [Boolean]
Whether bounding boxes are included in the face annotation output. Corresponds to the JSON property `includeBoundingBoxes` @return [Boolean]
Whether bounding boxes are included in the face annotation output. Corresponds to the JSON property `includeBoundingBoxes` @return [Boolean]
Model to use for face detection. Supported values: “builtin/stable” (the default if unset) and “builtin/latest”. Corresponds to the JSON property `model` @return [String]
Public Class Methods
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 2680 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 2685 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