Cloud Video Intelligence V1p2beta1 API - Class Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment (v0.9.0)

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

Video segment level annotation results for text detection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
Returns
  • (::Float) — Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.

#frames

def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame>
Returns

#frames=

def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame>
Parameter
Returns

#segment

def segment() -> ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment
Returns

#segment=

def segment=(value) -> ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment
Parameter
Returns