Passenger counting for bus videos