An intelligent RGB-D video system for bus passenger counting