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.