View Source GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchOcrDescriptionTrainingDataAnchorFeatures (google_api_content_warehouse v0.3.0)

Metadata about the join of description anchors and OCR data which is used to build training data.

Attributes

  • editDistance (type: integer(), default: nil) - The string edit distance from the anchor label to the nearest OCR text.
  • editDistanceRatio (type: number(), default: nil) - edit_distance over the description anchor's label length.
  • matchedDescriptionText (type: String.t, default: nil) - The description anchor text used for matching to OCR text.
  • matchedFrameTimeMs (type: integer(), default: nil) - The time of the selected OCR frame in ms. The best frame in a window around the target description anchor will be selected.
  • matchedOcrText (type: String.t, default: nil) - The OCR text that was the best match for the nearby description anchor.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchOcrDescriptionTrainingDataAnchorFeatures{
    editDistance: integer() | nil,
    editDistanceRatio: number() | nil,
    matchedDescriptionText: String.t() | nil,
    matchedFrameTimeMs: integer() | nil,
    matchedOcrText: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.