View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation (google_api_vision v0.25.0)

Prediction for what the object in the bounding box is.

Attributes

  • languageCode (type: String.t, default: nil) - The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
  • mid (type: String.t, default: nil) - Object ID that should align with EntityAnnotation mid.
  • name (type: String.t, default: nil) - Object name, expressed in its language_code language.
  • score (type: number(), default: nil) - Score of the result. Range [0, 1].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation{
    languageCode: String.t() | nil,
    mid: String.t() | nil,
    name: String.t() | nil,
    score: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.