I'm using OpenCV 4 - python 3 - to find an specific area in a black & white image.
This area is not a 100% filled shape. It may hame some gaps between the white lines.
This is the base image from where I start processing:

This is the rectangle I expect - made with photoshop -:

Results I got with hough transform lines - not accurate -

So basically, I start from the first image and I expect to find what you see in the second one.
Any idea of how to get the rectangle of the second image?





