Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::FaceDetectionConfig.
Config for FACE_DETECTION.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#include_attributes
def include_attributes() -> ::Boolean
Returns
- (::Boolean) — Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
#include_attributes=
def include_attributes=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
Returns
- (::Boolean) — Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
#include_bounding_boxes
def include_bounding_boxes() -> ::Boolean
Returns
- (::Boolean) — Whether bounding boxes are included in the face annotation output.
#include_bounding_boxes=
def include_bounding_boxes=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether bounding boxes are included in the face annotation output.
Returns
- (::Boolean) — Whether bounding boxes are included in the face annotation output.
#model
def model() -> ::String
Returns
- (::String) — Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
#model=
def model=(value) -> ::String
Parameter
- value (::String) — Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
Returns
- (::String) — Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".