Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class DwellTimeInfo.
The dwell time info for annotations from occupancy counting operator.
Generated from protobuf message google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo
Namespace
Google \ Cloud \ VisionAI \ V1 \ OccupancyCountingPredictionResultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ track_id |
string
An unique id to identify a track. It should be consistent across frames. |
↳ zone_id |
string
The unique id for the zone in which the object is dwelling/waiting. |
↳ dwell_start_time |
Google\Protobuf\Timestamp
The beginning time when a dwelling object has been identified in a zone. |
↳ dwell_end_time |
Google\Protobuf\Timestamp
The end time when a dwelling object has exited in a zone. |
getTrackId
An unique id to identify a track. It should be consistent across frames.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTrackId
An unique id to identify a track. It should be consistent across frames.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getZoneId
The unique id for the zone in which the object is dwelling/waiting.
| Returns | |
|---|---|
| Type | Description |
string |
|
setZoneId
The unique id for the zone in which the object is dwelling/waiting.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDwellStartTime
The beginning time when a dwelling object has been identified in a zone.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasDwellStartTime
clearDwellStartTime
setDwellStartTime
The beginning time when a dwelling object has been identified in a zone.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDwellEndTime
The end time when a dwelling object has exited in a zone.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasDwellEndTime
clearDwellEndTime
setDwellEndTime
The end time when a dwelling object has exited in a zone.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|