A new approach for pedestrian tracking and status analysis