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

Features for video level info.

Attributes

  • averageTextAreaRatio (type: number(), default: nil) - Average text area ratio throughout video frames. Text area ratio for a frame is defined by sum(text area) / image area.
  • clusterIdToFrameSize (type: map(), default: nil) - Cluster id to the num of frames in each cluster.
  • durationInMs (type: integer(), default: nil) - Total time of this video in milliseconds.
  • langIdDetectedLanguage (type: String.t, default: nil) - Video level detected language by lang id, aggregated from each frame.
  • numClusters (type: integer(), default: nil) - The number of ShotInfo clusters.
  • numFrames (type: integer(), default: nil) - The number of video frames contained in ShotInfo cluster.
  • ocrDetectedLanguage (type: String.t, default: nil) - Video level detected language, aggregated from each frame.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchOcrVideoFeature{
  averageTextAreaRatio: number() | nil,
  clusterIdToFrameSize: map() | nil,
  durationInMs: integer() | nil,
  langIdDetectedLanguage: String.t() | nil,
  numClusters: integer() | nil,
  numFrames: integer() | nil,
  ocrDetectedLanguage: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.