Best way to cluster a group of people running?
I have implemented Optical flow on a video in which a group of people are running. I need to cluster them into a group and then track them accordingly.
I am confused which clustering algorithm should i be using K-means or Mean shift? Can anyone please help me out.
There are a couple of ways. If you're using sparse optical flow, probably use K-means to cluster. If you're using dense, you might want to use segmentMotion.
Thank you! Could you please post some links for a sample code. Tried to google it but in vain.