Skip to content

Block rectangle

Chaunte W. Lacewell edited this page Aug 26, 2022 · 1 revision

rectangle

This is used to set the coordinates for a bounding box. A rectangle has the following form:

"rectangle": {"x":, "y":, "w":, "h":}

where x and y are the coordinates of the upper left corner of the region of interest and w and h are the width and height (respectively) of the region.

Example

"rectangle": {
    "x": 100,
    "y": 200,
    "height": 1024,
    "width": 640,
}
Clone this wiki locally