How to detect the the vertical metal bars?

asked 2015-04-14 23:31:59 -0600

cv_new gravatar image

updated 2015-04-15 22:18:50 -0600

Hi, I'm trying to find whether the image contains the vertical metal bars attached on the door or not. I used Ada-boost's algorithm for training using the area of the vertical metal bars and also used Hough transform to find out the position of rods. For the Ada-boost training part, the result is not acceptable, as the area extracted is much larger than the expected. For the Hough Transform part, there are too many false positive results, which sometimes even missed the actual area of the vertical metal bars.

My purpose is to count the number of the vertical metal bars attached on the door. I am so confused about the result at present and don't know how to deal with the results obtained by the Hough Transform. Thanks for your suggestion in advance.

Original Image

Missed the detection of vertical metal bars

Right detection

edit retag flag offensive close merge delete

Comments

1

did you mean: rod, not rob ? (the vertical metal bars ?)

berak gravatar imageberak ( 2015-04-15 02:05:48 -0600 )edit

Yes, it should be the rod. I want to detect the the vertical metal bars. Do you have any suggestions?

cv_new gravatar imagecv_new ( 2015-04-15 22:17:29 -0600 )edit