How to tracking pedestrain by mean shift with RGB 3 channels ?

asked 2013-08-05 14:40:15 -0500

flammxy gravatar image

updated 2013-08-05 14:44:10 -0500

I have found some examples and codes about mean shift. But they all using hue channel of HSV to tracking. The first step is to convert RGB to HSV. But I have the problem that the results are not good especially when the majority part of the objects I tracking are white, lose the target even 1 frame late.

Does anyone know how to mean shift tracking by RGB 3 channels? Or are there any samples or codes about it?

Thank you.

edit retag flag offensive close merge delete

Comments

1

You should read more into why RGB isn't used for people tracking. It is mainly because the range of skin tone colour, is very wide in RGB, however, you can get pretty decent ranges in the HSV colorspace. Why don't use the stuff that everybody has already researched?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-05 14:42:12 -0500 )edit

Hi, thanks for answering my question. The problem I meet is that the results are not good especially when the majority part of the objects I tracking are white, lose the target even 1 frame late. For example the people wear white clothes.

Or when the color of majority part of people's body are not high contrast to the background. So from the test result, it does not work good.

flammxy gravatar imageflammxy ( 2013-08-05 14:48:46 -0500 )edit

Does anyone knows how to do it? Help me please. Thank you

flammxy gravatar imageflammxy ( 2013-08-29 14:51:33 -0500 )edit

Tracking a class with a lot of variety like people is not the correct way to go. Techniques like HOG+SVM are used for that job.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-29 15:11:18 -0500 )edit