View Source GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox (google_api_content_warehouse v0.4.0)

Bounding box coordinates are relative to the width and height of the image. For example, if image is 100x200 and NormalizedBoundingBox is , the bounding box coordinates will be (10, 40) to (50, 180). Note parts of the bounding box may fall outside the image.

Attributes

  • xmax (type: number(), default: nil) -
  • xmin (type: number(), default: nil) -
  • ymax (type: number(), default: nil) -
  • ymin (type: number(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox{
    xmax: number() | nil,
    xmin: number() | nil,
    ymax: number() | nil,
    ymin: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.