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

A single label with score and meta data.

Attributes

  • canonicalText (type: String.t, default: nil) - Human readable text.
  • entityId (type: String.t, default: nil) - KG entity id.
  • metaData (type: list(GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingMetaData.t), default: nil) - Meta data for topicality, visible labels, attribute, etc.
  • score (type: number(), default: nil) - Confidence score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingLabel{
  canonicalText: String.t() | nil,
  entityId: String.t() | nil,
  metaData:
    [GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingMetaData.t()]
    | nil,
  score: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.