google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.Result View Source

Information about a product.

Attributes

  • image (type: String.t, default: nil) - The resource name of the image from the product that is the closest match to the query.
  • product (type: GoogleApi.Vision.V1.Model.Product.t, default: nil) - The Product.
  • score (type: number(), default: nil) - A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Vision.V1.Model.Result{
  image: String.t(),
  product: GoogleApi.Vision.V1.Model.Product.t(),
  score: number()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.