Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class VideoObjectTrackingPredictionResult.
Prediction output format for Video Object Tracking.
Generated from protobuf message google.cloud.visionai.v1.VideoObjectTrackingPredictionResult
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ segment_start_time |
Google\Protobuf\Timestamp
The beginning, inclusive, of the video's time segment in which the current identifications happens. |
↳ segment_end_time |
Google\Protobuf\Timestamp
The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame. |
↳ objects |
array<VideoObjectTrackingPredictionResult\DetectedObject>
All of the objects detected in the specified time range. |
getSegmentStartTime
The beginning, inclusive, of the video's time segment in which the current identifications happens.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasSegmentStartTime
clearSegmentStartTime
setSegmentStartTime
The beginning, inclusive, of the video's time segment in which the current identifications happens.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSegmentEndTime
The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasSegmentEndTime
clearSegmentEndTime
setSegmentEndTime
The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getObjects
All of the objects detected in the specified time range.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setObjects
All of the objects detected in the specified time range.
| Parameter | |
|---|---|
| Name | Description |
var |
array<VideoObjectTrackingPredictionResult\DetectedObject>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|