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
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
bool |
setIncludeBoundingBoxes
Whether bounding boxes are included in the person detection annotation output.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getIncludePoseLandmarks
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
Returns | |
---|---|
Type | Description |
bool |
setIncludePoseLandmarks
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |