Google Cloud Vision Ai V1 Client - Class PersonVehicleDetectionConfig (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class PersonVehicleDetectionConfig.

Message describing PersonVehicleDetectionConfig.

Generated from protobuf message google.cloud.visionai.v1.PersonVehicleDetectionConfig

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_people_counting bool

At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key.

↳ enable_vehicle_counting bool

Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

getEnablePeopleCounting

At least one of enable_people_counting and enable_vehicle_counting fields must be set to true.

Whether to count the appearances of people, output counts have 'people' as the key.

Returns
Type Description
bool

setEnablePeopleCounting

At least one of enable_people_counting and enable_vehicle_counting fields must be set to true.

Whether to count the appearances of people, output counts have 'people' as the key.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableVehicleCounting

Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

Returns
Type Description
bool

setEnableVehicleCounting

Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

Parameter
Name Description
var bool
Returns
Type Description
$this