Driver monitoring with a near-infrared camera