ImageRepositoryShoppingProductInformationBoundingBox

GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationBoundingBox


Table of Contents ▼

Jump to a specific part of the page:

Description

Contains the coordinates of the normalized bounding box.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. h (type: number(), default: nil)
    - The vertical height of the bounding box (ymax - ymin + 1), normalized by image height with range [0,1].
  2. w (type: number(), default: nil)
    - The horizontal width of the bound box (xmax - xmin + 1), normalized by image width with range [0,1].
  3. x (type: number(), default: nil)
    - The x coordinate (xmin), normalized by image width with range [0,1).
  4. y (type: number(), default: nil)
    - The y coordinate (ymin), normalized by image height with range [0,1).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationBoundingBox{
h: number() | nil,
w: number() | nil,
x: number() | nil,
y: number() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationBoundingBox