google_api_vision v0.4.0 GoogleApi.Vision.V1.Model.ImageContext View Source

Image context and/or feature-specific parameters.

Attributes

  • cropHintsParams (CropHintsParams): Parameters for crop hints annotation request. Defaults to: null.
  • languageHints ([String.t]): List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the supported languages. Defaults to: null.
  • latLongRect (LatLongRect): Not used. Defaults to: null.
  • productSearchParams (ProductSearchParams): Parameters for product search. Defaults to: null.
  • webDetectionParams (WebDetectionParams): Parameters for web detection. 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.ImageContext{
  cropHintsParams: GoogleApi.Vision.V1.Model.CropHintsParams.t(),
  languageHints: [any()],
  latLongRect: GoogleApi.Vision.V1.Model.LatLongRect.t(),
  productSearchParams: GoogleApi.Vision.V1.Model.ProductSearchParams.t(),
  webDetectionParams: GoogleApi.Vision.V1.Model.WebDetectionParams.t()
}

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.