View Source GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchCaptionLabelFeatures (google_api_content_warehouse v0.4.0)

Contains timing and text for a given label.

Attributes

  • alignedOcrTexts (type: list(GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchOCRText.t), default: nil) - OCR anchors with overlapping time-window with this anchor
  • alignedTime (type: String.t, default: nil) - The time stamp in milliseconds for the reference text (e.g. description anchor time).
  • contextText (type: String.t, default: nil) - Text around the aligned_time of a long duration, say [-15 minutes, +15 minutes]
  • labelText (type: String.t, default: nil) - The main label text for the feature.
  • textSimilarityFeatures (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTextSimilarityFeatures.t, default: nil) - Identified matching text by similarity.
  • textSpanAtAlignedTime (type: String.t, default: nil) - The text span in the passage starting from the aligned time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchCaptionLabelFeatures{
    alignedOcrTexts:
      [GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchOCRText.t()] | nil,
    alignedTime: String.t() | nil,
    contextText: String.t() | nil,
    labelText: String.t() | nil,
    textSimilarityFeatures:
      GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTextSimilarityFeatures.t()
      | nil,
    textSpanAtAlignedTime: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.