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

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

Each IdentifiedClassification is one particular identification of an classification specified with the AnnotationSpec id and display_name, and the associated confidence score.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — The Model's confidence in correction of this identification, higher value means higher confidence.

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — The Model's confidence in correction of this identification, higher value means higher confidence.
Returns
  • (::Float) — The Model's confidence in correction of this identification, higher value means higher confidence.

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the AnnotationSpec that had been identified.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the AnnotationSpec that had been identified.
Returns
  • (::String) — The display name of the AnnotationSpec that had been identified.

#id

def id() -> ::String
Returns
  • (::String) — The resource ID of the AnnotationSpec that had been identified.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The resource ID of the AnnotationSpec that had been identified.
Returns
  • (::String) — The resource ID of the AnnotationSpec that had been identified.