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

Information about a product.

Attributes

  • image (String.t): The resource name of the image from the product that is the closest match to the query. Defaults to: null.
  • product (Product): The Product. Defaults to: null.
  • score (float()): A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence). Defaults to: null.

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: any(),
  product: GoogleApi.Vision.V1.Model.Product.t(),
  score: any()
}

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.