Ask Your Question
0

Detecting Light Pole

asked 2013-04-22 13:43:19 -0600

Nehli Jain gravatar image

Hi,

I am trying to work on a project which aims on building an app to provide guidance to the blind using opencv. I want to accomplish detection and tracking of a traffic light pole(vertical), or similar object(like light pole, tree trunk may be or something with similar dimension) in a street intersection scene.

I am really new to opencv, so I am not very acquainted with all the we can do in Computer Vision Domain. I wanted some guidance on how could we approach this problem using OpenCV.

Thanks for your help -Nehil

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-04-22 13:51:10 -0600

What you could do is basically two approaches

1) Creating a model of a general light pole structure, then perform a detection using that model. Techniques that are usefull are SVM, random forest, cascade and naive bayes classifiers. You can find more information on them in the machine learning package of openCV.

2) If you know the exact appearance, you could use a technique called feature point matching. You first search for interesting points in the general model image, then try to find those interesting points again in the scene. Finishing the detection by using a feature point matcher, that tries to find identical feature points. You should take a look at the features2D package of openCV for that.

Always take into account that object detection is not a straightforward problem. There is no general solution, only good working solutions for specific situations. This makes that you need to try out different approaches in order to find a good match for your problem.

edit flag offensive delete link more

Comments

1

Thanks Steven..

Those are great.. I shall try these approaches :)

Nehli Jain gravatar imageNehli Jain ( 2013-04-22 13:57:20 -0600 )edit
0

answered 2013-04-22 13:56:57 -0600

unxnut gravatar image

If your pole stands out with respect to background, you may be able to perform simple segmentation, identify vertical objects (height >> width, and angle at 90 degrees with respect to ground) and then, perform an erosion on that object to get a line.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-04-22 13:43:19 -0600

Seen: 1,932 times

Last updated: Apr 22 '13