Cloud Video Intelligence V1beta2 Client - Class FaceDetectionConfig (1.14.2)

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
NameDescription
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
TypeDescription
string

setModel

Model to use for face detection.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIncludeBoundingBoxes

Whether bounding boxes be included in the face annotation output.

Returns
TypeDescription
bool

setIncludeBoundingBoxes

Whether bounding boxes be included in the face annotation output.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this