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

  • Michelin celebrates RoadBotics acquisition
    September 19, 2022
    Michelin is using the ITS World Congress in Los Angeles to introduce its latest acquisition RoadBotics—showcasing ways that the new division’s image analysis technology can make roads safer for drivers.
  • Data handling important for autonomous vehicles
    December 8, 2016
    Data handling is becoming an ever-greater part of transportation and never more so than with autonomous vehicles, as Andrew Bardin Williams hears from some big names.
  • British Columbia takes a hard line on distracted driving
    May 11, 2016
    Drivers who use cellphones while driving will soon face tougher penalties in British Columbia, Canada, after the government announced significantly higher fines, more penalty points and earlier interventions for repeat offenders, including driving prohibitions, as part of its push to eliminate distracted driving, a leading factor in deaths on BC roads. Effective from 1 June, the current penalty of $167 for distracted driving will increase to $543 for a first offence ($368 base fine, plus $175 in penalty
  • "AI can help fast-track Net Zero and Vision Zero," says VivaCity
    January 16, 2024
    Artificial intelligence isn't just about self-driving cars - and ‘smart’ doesn't always have to be shiny, new and innovative. Mark Nicholson, CEO at VivaCity, offers a few predictions for 2024...