I have the coordinates stored in this fashion in the x-axis, and y-axis.

```
rects= [[715, 49], [716, 49], [711, 50], [712, 50], [713, 50],...]
image= cv2.imread("some_image.jpg")

```

How can I add a lightly transparent colored layer to the co-ordinates stored in `rects` onto the `image` similar to the blue layer on top of the car in the following?

[![enter image description here](https://i.stack.imgur.com/rATq5.jpg)](https://i.stack.imgur.com/rATq5.jpg)