I would like to find photo inside image. Below is an example:
I suppose that first I need to find edges. So I tried 2 approaches: Edge Canny detector:
Adaptive Threshold (with Gaussian smoothing):
As you can see the edges are not perfect. Any ideas how to improve edge detection. Or maybe there is a way to find photo from Canny detector in second image?
Thank you for any tips in advance.