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

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

The track info for annotations from occupancy counting operator.

Generated from protobuf message google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo

Namespace

Google \ Cloud \ VisionAI \ V1 \ OccupancyCountingPredictionResult

Methods

__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.

↳ start_time Google\Protobuf\Timestamp

Start timestamp of this track.

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

getStartTime

Start timestamp of this track.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start timestamp of this track.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this