View Source GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox (google_api_ai_platform v0.13.0)

An integer bounding box of original pixels of the image for the detected labels.

Attributes

  • x1 (type: integer(), default: nil) - The X coordinate of the top-left corner, in pixels.
  • x2 (type: integer(), default: nil) - The X coordinate of the bottom-right corner, in pixels.
  • y1 (type: integer(), default: nil) - The Y coordinate of the top-left corner, in pixels.
  • y2 (type: integer(), default: nil) - The Y coordinate of the bottom-right corner, in pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox{
    x1: integer() | nil,
    x2: integer() | nil,
    y1: integer() | nil,
    y2: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.