A real-time vision system for crowding monitoring