Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult.
Prediction output format for Video Action Recognition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#actions
def actions() -> ::Array<::Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult::IdentifiedAction>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult::IdentifiedAction>) — All of the actions identified in the time range.
#actions=
def actions=(value) -> ::Array<::Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult::IdentifiedAction>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult::IdentifiedAction>) — All of the actions identified in the time range.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult::IdentifiedAction>) — All of the actions identified in the time range.
#segment_end_time
def segment_end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::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.
#segment_end_time=
def segment_end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::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.
Returns
- (::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.
#segment_start_time
def segment_start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The beginning, inclusive, of the video's time segment in which the actions have been identified.
#segment_start_time=
def segment_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The beginning, inclusive, of the video's time segment in which the actions have been identified.
Returns
- (::Google::Protobuf::Timestamp) — The beginning, inclusive, of the video's time segment in which the actions have been identified.