I'm really new in image processing, so please sorry I'm a newbie. I tried to use the [squares.cpp][1] for detecting posters (since they usually are rectangles) **without using expensive feature detectors (like SIFT)**. Unfortunately, the results are pretty much disappointing (as it was pretty predictable, results below).
Actually I don't care that only posters are detected, since statistically the posters are the biggest (or second biggest) rectangle in the image (decent heuristic).
Any idea how to improve this code?
[![enter image description here][2]][2]
[![enter image description here][3]
[![enter image description here][4]][4]
[![enter image description here][5]][5]
[![enter image description here][6]][6]
[![enter image description here][7]][7]
[1]: https://github.com/Itseez/opencv/blob/master/samples/cpp/squares.cpp
[2]: http://i.stack.imgur.com/M03bG.jpg
[3]: http://i.stack.imgur.com/QVp2h.jpg
[4]: http://i.stack.imgur.com/TRuTK.jpg
[5]: http://i.stack.imgur.com/875JO.jpg
[6]: http://i.stack.imgur.com/mLONI.jpg
[7]: http://i.stack.imgur.com/jFTsT.jpg
↧