An integrated system for vehicle tracking and classification