views:

27

answers:

1

I wanted to create an application which tracks four different colored blobs from video feed from the webcam and outputs the x and y co-ordinates of the blob. I would prefer if I code this in Visual C++ but if that is not the best language to use I wouldn't mind exploring some other language. I also stumbled upon OpenCV which seems to be related to what I want to achieve. I would like the stackoverflow community to give their advice about this and explain whether and how I could use OpenCV to do what I want to do. Thanks in advance.

A: 

OpenCV is what you need to solve the problem.

First of all, read "Learning OpenCV" by Bradski. The book covers everything you need to know. It also has some examples you may find very related to your problem. Particular algorithms for your application may be mean-shift tracking .

If you want to use OpenCV 2.0, you may have to use MinGW compiler. There is a way to compile source code of OpenCV to be usable on Visual Studio, the solution is somewhere here on stackoverflow.

Or you may use OpenCV 1.2 or some other version.

Daniyar