Create a rectangle around a binary image mask : <p>From a given image i'm able to create a binary mask that detect certain objects, how i can draw multiple rectangles a round those detected objects so that i're draw it to the original image also if it possible to obtain the corrdinates of those rectangle so i can plot them in the original image 
<a href="https://i.stack.imgur.com/wYujS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wYujS.png" alt="enter image description here"></a></p>
