Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class VideoActionRecognitionPredictionResult.
Prediction output format for Video Action Recognition.
Generated from protobuf message google.cloud.visionai.v1.VideoActionRecognitionPredictionResult
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 actions have been identified. |
↳ segment_end_time |
Google\Protobuf\Timestamp
The end, inclusive, of the video's time segment in which the actions have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame. |
↳ actions |
array<VideoActionRecognitionPredictionResult\IdentifiedAction>
All of the actions identified in the time range. |
getSegmentStartTime
The beginning, inclusive, of the video's time segment in which the actions have been identified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasSegmentStartTime
clearSegmentStartTime
setSegmentStartTime
The beginning, inclusive, of the video's time segment in which the actions have been identified.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSegmentEndTime
The end, inclusive, of the video's time segment in which the actions have been identified. Particularly, if the end is the same as the start, it means the identification happens 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 actions have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getActions
All of the actions identified in the time range.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setActions
All of the actions identified in the time range.
| Parameter | |
|---|---|
| Name | Description |
var |
array<VideoActionRecognitionPredictionResult\IdentifiedAction>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|