class Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionConfig

Config for PERSON_DETECTION.

Attributes

include_attributes[RW]

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]

include_attributes?[RW]

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]

include_bounding_boxes[RW]

Whether bounding boxes are included in the person detection annotation output. Corresponds to the JSON property `includeBoundingBoxes` @return [Boolean]

include_bounding_boxes?[RW]

Whether bounding boxes are included in the person detection annotation output. Corresponds to the JSON property `includeBoundingBoxes` @return [Boolean]

include_pose_landmarks[RW]

Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false. Corresponds to the JSON property `includePoseLandmarks` @return [Boolean]

include_pose_landmarks?[RW]

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

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 5539
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 5544
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