camshift + kalman filter

asked 2013-03-13 00:52:35 -0600

updated 2013-03-13 04:41:11 -0600

sammy gravatar image

I implemented the camshift algorithm to detect an object but I am not happy with the output.

I used hue channel in HSV color space to generate the histogram.

Now i want to embed kalman filter with camshift. But I have no idea of doing it. Need guidance.

edit retag flag offensive close merge delete

Comments

1

Why do you want Kalman if you have no idea what to do? It would be good to first understand what are you doing there, then learn about Kalman, then decide whether it is useful in your situation.

sammy gravatar imagesammy ( 2013-03-13 04:39:59 -0600 )edit
1

As a note to Sammy's comment. Please define whether you actually want to perform detection or tracking. I think you are mixing the two up. Camshift is not a detection, but a tracking algorithm (http://www.robinhewitt.com/research/track/camshift.html). So state clearly what the mean of your research is...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-13 04:47:29 -0600 )edit

hi, actually i want to track the hand..i want to do something like this http://www.youtube.com/watch?v=dhYwCmKGU3w So how can i join Camshift and Kalman algorith together to track an object ?

hard_rocks gravatar imagehard_rocks ( 2013-03-13 10:19:54 -0600 )edit
2

I guess you did not read my comment correctly. The video show a manual selection of a region, which could be your hand, then you apply tracking of that region based on that regions information. Just use a Kalman filter and read about how it actually works. This is not a "hello provide me a full solution forum" :)

http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html?highlight=kalman#

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-13 10:23:36 -0600 )edit