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

Copy Markdown View Source

The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple Feature objects can be specified in the features list.

Attributes

  • max_results (type: integer()) - Maximum number of results of this type. Does not apply to TEXT_DETECTION, DOCUMENT_TEXT_DETECTION, or CROP_HINTS.
  • model (type: String.t()) - Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". DOCUMENT_TEXT_DETECTION and TEXT_DETECTION also support "builtin/rc" for the latest release candidate.
  • type (type: String.t()) - The feature type.

Summary

Types

t()

@type t() :: %Googly.CloudVision.Model.Feature{
  max_results: integer() | nil,
  model: String.t() | nil,
  type: String.t() | nil
}