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.
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.
bool
setIncludeBoundingBoxes
Whether bounding boxes are included in the person detection annotation output.
var
bool
$this
getIncludePoseLandmarks
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
bool
setIncludePoseLandmarks
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
var
bool
$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.
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.
var
bool
$this