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

  • UK motorists concerned about increase in mobile phone use while driving
    November 23, 2016
    Over 86 per cent of UK motorists think distraction caused by mobile phones has become worse in the last three years, according to the second Safety Culture Survey commissioned by road safety charity IAM RoadSmart. In second place was congestion at 81 per cent, reflecting the increasing number of vehicles on the roads as the recession ends. Of the 2,000 UK drivers surveyed, nearly three quarters believed aggressive driving had worsened over the last three years, with more than 60 per cent reporting the
  • Technology, social media bigger perceived threats than drink-driving, IAM finds
    November 6, 2015
    Motorists are now more worried about the dangers of distraction posed by technology and social media than drink-driving, according to the Institute of Advanced Motorist’s (IAM) first major survey into safety culture. The Safety Culture Index report was launched today by the IAM, and is a study of more than 2,000 UK motorists’ attitudes to driving safety and behaviour on our roads. IAM claims it will form a definitive baseline to track changes over time, providing the opportunity to examine how attitudes
  • Crash course in workzone safety
    April 26, 2021
    A vehicle crashing through a workzone is an ever-present risk. As US National Work Zone Awareness Week approaches, Alan Dron asks what chance there is of improving the situation
  • New ANPR solutions overcome variables
    May 18, 2018
    The sheer range of variables makes it difficult to find a single algorithm to ensure a 100% standard of ANPR. David Crawford investigates new processing technology. Automatic number plate recognition (ANPR), using optical character recognition and image-processing to identify vehicles, plays key roles in traffic monitoring and law enforcement, access and parking control, electronic toll collection, vehicle security and crime deterrence. Overall, system performance is well rated, with high levels of