Skip to main content

New software could detect when people text and drive

Engineering researchers at Canada’s University of Waterloo are developing technology which can accurately determine when drivers are texting or engaged in other distracting activities. The system uses cameras and artificial intelligence (AI) to detect hand movements that deviate from normal driving behaviour and grades or classifies them in terms of possible safety threats.
September 20, 2017 Read time: 2 mins
Engineering researchers at Canada’s University of Waterloo are developing technology which can accurately determine when drivers are texting or engaged in other distracting activities. The system uses cameras and artificial intelligence (AI) to detect hand movements that deviate from normal driving behaviour and grades or classifies them in terms of possible safety threats.


Fakhri Karray, an electrical and computer engineering professor and director of the Centre for Pattern Analysis and Machine Intelligence (CPAMI) at Waterloo, said that information could be used to improve road safety by warning or alerting drivers when they are dangerously distracted. As advanced self-driving features are increasingly added to conventional cars, he said, signs of serious driver distraction could be employed to trigger protective measures.

“The car could actually take over driving if there was imminent danger, even for a short while, in order to avoid crashes,” said Karray.

Algorithms at the heart of the technology were trained using machine-learning techniques to recognise actions such as texting, talking on a cellphone or reaching into the backseat to retrieve something. The seriousness of the action is assessed based on duration and other factors.

That work builds on extensive previous research at CPAMI on the recognition of signs, including frequent blinking, that drivers are in danger of falling asleep at the wheel. Head and face positioning are also important cues of distraction.

Ongoing research at the centre now seeks to combine the detection, processing and grading of several different kinds of driver distraction in a single system.

“It has a huge impact on society,” said Karray, citing estimates that distracted drivers are to blame for up to 75 per cent of all traffic accidents worldwide.

Related Content

  • Costing transit is complicated case
    August 19, 2015
    David Crawford welcomes fresh thinking from Canada. Public transit improvements can bring society “significantly more value” than conventional transport models normally indicate, argues Canadian researcher Todd Litman. “Traditional evaluation practices originally developed to assess roadway improvements, and focus primarily on vehicle travel speeds and operating costs. “They do not generally quantify or monetise basic mobility benefits, vehicle ownership and parking cost savings, or efficient land developme
  • In-vehicle automation of safety compliance and other traffic violations
    January 24, 2012
    David Crawford explores new initiatives in enforcement. Achieving the EU’s new road safety target of reducing road traffic deaths by 50 per cent by 2020 depends on removing legal and institutional barriers to the deployment of new enforcement technologies, stresses Jan Malenstein. The senior ITS Adviser to Dutch National Police Agency the KLPD, and a European-level spokesperson on road and traffic safety, points to the importance of, among other requirements, an effective EUwide type approval process for fr
  • Cost Benefit: Utah traffic light scheme pays dividends
    March 15, 2019
    A traffic signal control scheme in Utah is being taken up by other US authorities. David Crawford finds out how the Beehive State is leading the way in DoT and driver savings Growing numbers of US state departments of transportation (DoTs) and their road users are gaining real financial benefits from an advanced approach to traffic signal monitoring recently developed in Utah. Central to the system is its use of automated traffic signal performance measures (ATSPM) technology, brought in to improve th
  • Caltrans trials Xerox’s Passenger Detection System
    October 30, 2015
    Xerox’s Passenger Detection System has been trialled in California and compared with the state’s team of human counters giving some interesting results, as Colin Sowman discovers. Like others adopting high-occupancy and high-occupancy vehicle (HOV) lanes for congestion management, Caltrans has faced challenges with compliance in what has been effectively an ‘honour system’ with drivers trusted to set their tags correctly or comply with the multi-passenger requirement.