I have a large collection of binary images like these ones:
On each image I need to detect the white rectangle. The rectangles have different dimensions an