Cloud Video Intelligence V1 Client - Class PersonDetectionConfig (1.12.16)

Reference documentation and code samples for the Cloud Video Intelligence V1 Client class PersonDetectionConfig.

Config for PERSON_DETECTION.

Generated from protobuf message google.cloud.videointelligence.v1.PersonDetectionConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ include_bounding_boxes bool

Whether bounding boxes are included in the person detection annotation output.

↳ include_pose_landmarks bool

Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.

↳ include_attributes bool

Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.

getIncludeBoundingBoxes

Whether bounding boxes are included in the person detection annotation output.

Returns
TypeDescription
bool

setIncludeBoundingBoxes

Whether bounding boxes are included in the person detection annotation output.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getIncludePoseLandmarks

Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.

Returns
TypeDescription
bool

setIncludePoseLandmarks

Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getIncludeAttributes

Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.

Ignored if 'include_bounding_boxes' is set to false.

Returns
TypeDescription
bool

setIncludeAttributes

Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.

Ignored if 'include_bounding_boxes' is set to false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this