View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation (google_api_vision v0.25.0)

Set of detected objects with bounding boxes.

Attributes

  • boundingPoly (type: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1BoundingPoly.t, default: nil) - Image region to which this object belongs. This must be populated.
  • languageCode (type: String.t, default: nil) - The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
  • mid (type: String.t, default: nil) - Object ID that should align with EntityAnnotation mid.
  • name (type: String.t, default: nil) - Object name, expressed in its language_code language.
  • score (type: number(), default: nil) - Score of the result. Range [0, 1].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation{
    boundingPoly:
      GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1BoundingPoly.t() | nil,
    languageCode: String.t() | nil,
    mid: String.t() | nil,
    name: String.t() | nil,
    score: number() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.