Googly.CloudVision.Model.ImageContext (googly_cloud_vision v0.1.0)

Copy Markdown View Source

Image context and/or feature-specific parameters.

Attributes

  • crop_hints_params (type: Googly.CloudVision.Model.CropHintsParams.t()) - Parameters for crop hints annotation request.
  • language_hints (type: list(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.
  • lat_long_rect (type: Googly.CloudVision.Model.LatLongRect.t()) - Not used.
  • product_search_params (type: Googly.CloudVision.Model.ProductSearchParams.t()) - Parameters for product search.
  • text_detection_params (type: Googly.CloudVision.Model.TextDetectionParams.t()) - Parameters for text detection and document text detection.
  • web_detection_params (type: Googly.CloudVision.Model.WebDetectionParams.t()) - Parameters for web detection.

Summary

Types

t()

@type t() :: %Googly.CloudVision.Model.ImageContext{
  crop_hints_params: Googly.CloudVision.Model.CropHintsParams.t() | nil,
  language_hints: [String.t()] | nil,
  lat_long_rect: Googly.CloudVision.Model.LatLongRect.t() | nil,
  product_search_params: Googly.CloudVision.Model.ProductSearchParams.t() | nil,
  text_detection_params: Googly.CloudVision.Model.TextDetectionParams.t() | nil,
  web_detection_params: Googly.CloudVision.Model.WebDetectionParams.t() | nil
}