detecting a photograph [closed]
Hi all, I'm trying to detect a photograph, maybe up to 3 or 4 at a time. I tried using https://github.com/opencv/opencv/blob...
But it works a bit too good (detecting lots of rectangles everywhere). If i hold up a book it identifies rectangles on the book, but not the book itself. Sometimes it does, but very rarely (Same for photograph). Is there any way of finding the closest contours to the screen? Or should i adjust the threshold (tried that).
Maybe i should go for blob detection ?
Thanks for your suggestions. atv
would you add some samples of images of what you are trying to detect , this will help to get the problem and try to find the solution
Well i'm trying to detect photographs on a live webcam. I noticed that it detects the photograph on the back fine (all white) but not the front where the picture is.
http://answers.opencv.org/question/30... maybe useful
Yes, that detects a border around a photograph, but it seems to find a rectangle everywhere. Any way i can tune the parameters maybe?