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

Metadata associated with a region in an image. NEXT_ID: 14

Attributes

  • boundingBox (type: GoogleApi.ContentWarehouse.V1.Model.MediaIndexBoundingbox.t, default: nil) - The bounding box corresponding to the region.
  • entityFields (type: list(GoogleApi.ContentWarehouse.V1.Model.MediaIndexEntityField.t), default: nil) - Detected Entities found within this region.
  • labels (type: GoogleApi.ContentWarehouse.V1.Model.MediaIndexSparseFloatVector.t, default: nil) - The labels associated with the region encoded as a SparseFloatVector to facilitate dot product computation during sorting. The columns are the fingerprints of the labels and the values are the corresponding confidence scores. The vector is L2 normalized.
  • primiApparelFeaturesV2 (type: String.t, default: nil) - PRIMI Apparel Features v2 embedding and tokens.
  • primiApparelTokensV2 (type: list(String.t), default: nil) -
  • primiGenericFeaturesV25 (type: String.t, default: nil) - PRIMI Generic Features v2.5 embedding and tokens.
  • primiGenericTokensV25 (type: list(String.t), default: nil) -
  • starburstFeaturesV4 (type: String.t, default: nil) - Starburst v4 embedding and tokens.
  • starburstFeaturesV5 (type: String.t, default: nil) - Starburst v5 embedding and tokens.
  • starburstTokensV4 (type: list(String.t), default: nil) -
  • starburstTokensV5 (type: list(String.t), default: nil) -
  • starburstV4 (type: GoogleApi.ContentWarehouse.V1.Model.ImageContentStarburstVersionGroup.t, default: nil) -
  • starburstV5 (type: GoogleApi.ContentWarehouse.V1.Model.ImageContentStarburstVersionGroup.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.MediaIndexRegion{
  boundingBox:
    GoogleApi.ContentWarehouse.V1.Model.MediaIndexBoundingbox.t() | nil,
  entityFields:
    [GoogleApi.ContentWarehouse.V1.Model.MediaIndexEntityField.t()] | nil,
  labels:
    GoogleApi.ContentWarehouse.V1.Model.MediaIndexSparseFloatVector.t() | nil,
  primiApparelFeaturesV2: String.t() | nil,
  primiApparelTokensV2: [String.t()] | nil,
  primiGenericFeaturesV25: String.t() | nil,
  primiGenericTokensV25: [String.t()] | nil,
  starburstFeaturesV4: String.t() | nil,
  starburstFeaturesV5: String.t() | nil,
  starburstTokensV4: [String.t()] | nil,
  starburstTokensV5: [String.t()] | nil,
  starburstV4:
    GoogleApi.ContentWarehouse.V1.Model.ImageContentStarburstVersionGroup.t()
    | nil,
  starburstV5:
    GoogleApi.ContentWarehouse.V1.Model.ImageContentStarburstVersionGroup.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.