Vision AI V1 API - Class Google::Cloud::VisionAI::V1::VideoClassificationPredictionResult (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::VideoClassificationPredictionResult.

Prediction output format for Video Classification.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#classifications

def classifications() -> ::Array<::Google::Cloud::VisionAI::V1::VideoClassificationPredictionResult::IdentifiedClassification>
Returns

#classifications=

def classifications=(value) -> ::Array<::Google::Cloud::VisionAI::V1::VideoClassificationPredictionResult::IdentifiedClassification>
Parameter
Returns

#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 classifications 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 classifications 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 classifications 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

#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 classifications have been identified.
Returns