The in_rectangle parameter is used to specify the constraints on the position of a region of interest (RoI).

"in_rectangle": {
    "x": 200,
    "y": 100,
    "width": 300,
    "height": 300

where x and y are the coordinates of the upper left corner of the rectangle and w and h are the width and height.

If in_rectangle is specified, the RoIs returned must be fully within the boundaries indicated by the given rectangle parameters.