Just put the image in a coordinate container and use labels to make the rectangles:
I added the purple one, it's a simple label with no text and this style: border: solid 6px purple
It makes it super easy to change things.
ie, with border: dotted 6px purple
with border: dashed 10px red
and border-radius: 50