Skip to main content

Region

The JSON Region element defines a rectangular region for motion and object detection within an image or video frame.

Example

"regions": [
{
"top_left_x": 435,
"top_left_y": 388,
"width": 600,
"height": 224
}
]

Attributes

NameTypeDescription
top_left_xintthe left side of the region in pixels from the left side of the frame
top_left_yintthe top of the region in pixels from the top of the frame
widthintthe width of the region in pixels
heightintthe height of the region in pixels