class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
Config for PERSON_DETECTION.
Attributes
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false. Corresponds to the JSON property `includeAttributes` @return [Boolean]
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, 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 person detection annotation output. Corresponds to the JSON property `includeBoundingBoxes` @return [Boolean]
Whether bounding boxes are included in the person detection annotation output. Corresponds to the JSON property `includeBoundingBoxes` @return [Boolean]
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false. Corresponds to the JSON property `includePoseLandmarks` @return [Boolean]
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false. Corresponds to the JSON property `includePoseLandmarks` @return [Boolean]
Public Class Methods
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 2021 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 2026 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) @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks) end