Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class OccupancyCountConfig.
Message describing OccupancyCountConfig.
Generated from protobuf message google.cloud.visionai.v1.OccupancyCountConfig
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enable_people_counting |
bool
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. |
↳ enable_dwelling_time_tracking |
bool
Whether to track each invidual object's loitering time inside the scene or specific zone. |
getEnablePeopleCounting
Whether to count the appearances of people, output counts have 'people' as the key.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEnablePeopleCounting
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 |
|
getEnableDwellingTimeTracking
Whether to track each invidual object's loitering time inside the scene or specific zone.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEnableDwellingTimeTracking
Whether to track each invidual object's loitering time inside the scene or specific zone.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|