Image

I am trying to find the position of the rectangle in the image. Considering the top part of the image as reference, how can I find the position of the rectangle? I want the coordinates of the four vertices.
I have tried findContours and bounded rectangle method but have not been able to get the coordinates. Help would be appreciated.
