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