Reference documentation and code samples for the Cloud Video Intelligence V1 Client class FaceDetectionConfig.
Config for FACE_DETECTION.
Generated from protobuf message google.cloud.videointelligence.v1.FaceDetectionConfig
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ model
string
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
↳ include_bounding_boxes
bool
Whether bounding boxes are included in the face annotation output.
↳ include_attributes
bool
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
getModel
Model to use for face detection.
Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string
setModel
Model to use for face detection.
Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
var
string
$this
getIncludeBoundingBoxes
Whether bounding boxes are included in the face annotation output.
bool
setIncludeBoundingBoxes
Whether bounding boxes are included in the face annotation output.
var
bool
$this
getIncludeAttributes
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
bool
setIncludeAttributes
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
var
bool
$this