View Source GoogleApi.Vision.V1.Model.ImageContext (google_api_vision v0.25.0)
Image context and/or feature-specific parameters.
Attributes
-
cropHintsParams
(type:GoogleApi.Vision.V1.Model.CropHintsParams.t
, default:nil
) - Parameters for crop hints annotation request. -
languageHints
(type:list(String.t)
, default:nil
) - 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, settinglanguage_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. -
latLongRect
(type:GoogleApi.Vision.V1.Model.LatLongRect.t
, default:nil
) - Not used. -
productSearchParams
(type:GoogleApi.Vision.V1.Model.ProductSearchParams.t
, default:nil
) - Parameters for product search. -
textDetectionParams
(type:GoogleApi.Vision.V1.Model.TextDetectionParams.t
, default:nil
) - Parameters for text detection and document text detection. -
webDetectionParams
(type:GoogleApi.Vision.V1.Model.WebDetectionParams.t
, default:nil
) - Parameters for web detection.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Vision.V1.Model.ImageContext{ cropHintsParams: GoogleApi.Vision.V1.Model.CropHintsParams.t() | nil, languageHints: [String.t()] | nil, latLongRect: GoogleApi.Vision.V1.Model.LatLongRect.t() | nil, productSearchParams: GoogleApi.Vision.V1.Model.ProductSearchParams.t() | nil, textDetectionParams: GoogleApi.Vision.V1.Model.TextDetectionParams.t() | nil, webDetectionParams: GoogleApi.Vision.V1.Model.WebDetectionParams.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.