How to chose a meaningful patch?

asked 2016-05-28 01:55:20 -0500

lovaj gravatar image

I'm really new in image processing, so please sorry I'm a newbie. I tried to use the squares.cpp 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

[enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

edit retag flag offensive close merge delete