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’s Loughborough University attempts to smooth Europe’s path to C/AVs
    December 10, 2018
    Loughborough University in the UK is leading a three-year initiative which aims to assess the impact of introducing connected and autonomous vehicles (C/AVs) in Europe. The £5.7m project, called Levitate, is funded by the European Union and will help European cities to plan for the effect C/AVs will have on infrastructure and society. Levitate began this month and will consider how AVs might improve safety, congestion and the environment, while looking at key policy decisions which would maximise thei
  • Huawei advocates for change
    April 23, 2025
    Achieving technological change also requires a shift in mindset, as Jacky Wang, vice president of Huawei’s Smart Transportation business unit, explains
  • IN FOCUS: What Lidar does next
    March 16, 2023
    Automotive, tolling, robotics – outside of traffic, road safety and autonomous vehicles, what applications will move the dial in terms of Lidar during 2023? Quite a few, finds Adam Hill
  • Driverless vehicles just around the corner?
    February 28, 2013
    umors that self-driving taxis are about to hit the streets of Las Vegas have turned out to be untrue… but the age of the driverless vehicle is only just around the corner, as Pete Goldin finds out. From Herbie the Love Bug to Knight Rider to the cast of the Pixar film Cars, the autono­mous auto has long been a beloved icon in the entertainment industry. But how close is the fiction to fact? The general public might be surprised to find out just how soon autonomous vehicles could be driving on our roadways.