Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::LabelFrame (v0.12.0)

Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::LabelFrame.

Video frame level annotation results for label detection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Confidence that the label is accurate. Range: [0, 1].

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Confidence that the label is accurate. Range: [0, 1].
Returns
  • (::Float) — Confidence that the label is accurate. Range: [0, 1].

#time_offset

def time_offset() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

#time_offset=

def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
Returns
  • (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.