class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig

Config for FACE_DETECTION.

Attributes

include_attributes[RW]

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]

include_attributes?[RW]

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]

include_bounding_boxes[RW]

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

include_bounding_boxes?[RW]

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

model[RW]

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

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 1536
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_v1beta2/classes.rb, line 1541
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