Let say I have this image
The datapoint already detected and closed by the rectangle shape, as you can see in the figure. Now, I would like to find the coordinate