Best way to cluster a group of people running?

asked 2016-02-26 09:34:38 -0500

MarKS9 gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

Tetragramm gravatar imageTetragramm ( 2016-02-26 14:19:03 -0500 )edit

Thank you! Could you please post some links for a sample code. Tried to google it but in vain.

MarKS9 gravatar imageMarKS9 ( 2016-02-27 12:24:02 -0500 )edit
1