Cloud Video Intelligence V1beta2 Client - Class FaceDetectionConfig (1.15.4)

Reference documentation and code samples for the Cloud Video Intelligence V1beta2 Client class FaceDetectionConfig.

Config for FACE_DETECTION.

Generated from protobuf message google.cloud.videointelligence.v1beta2.FaceDetectionConfig

Namespace

Google \ Cloud \ VideoIntelligence \ V1beta2

Methods

__construct

Constructor.

Parameters
Name Description
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 be included in the face annotation output.

getModel

Model to use for face detection.

Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Returns
Type Description
string

setModel

Model to use for face detection.

Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Parameter
Name Description
var string
Returns
Type Description
$this

getIncludeBoundingBoxes

Whether bounding boxes be included in the face annotation output.

Returns
Type Description
bool

setIncludeBoundingBoxes

Whether bounding boxes be included in the face annotation output.

Parameter
Name Description
var bool
Returns
Type Description
$this