I'm beginner at using opencv with devc++, My works consists of tracking à person in a video sequence by firstly extract the foreground using the frame difference technique, after that i try to calculate the gravity center and tracing the point in this center for esche frame which gives the trajectory of the people, my cam is static. in this level i have the problem of tracing the gravity center. please help me, thank you very much