I was trying the detect and extract an image from the background (Example image here). Used canny edge detection and Hough transform for lines detection. But I'm getting wrong result due to noise in the image. An example image (Intermediate result) is shown here. Kindly help me to solve this problem in python.
I have used technique from below site and in addition to this used idea of Hough transform.
https://www.pyimagesearch.com/2014/04/21/building-pokedex-python-finding-game-boy-screen-step-4-6/