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

  • Advancing traffic management for smart cities
    September 3, 2024
    Promises of increased safety, less pollution, increased productivity and a better quality of life in smart cities are just too good to be ignored. Dany Longval of Teledyne Flir talks through some of the challenges
  • Rekor unveils new traffic data collection system
    September 21, 2022
    Rekor unveiled its new non-intrusive traffic data collection system on the showroom floor at ITS World Congress in Los Angeles.
  • Hella and Autoliv sign license and cooperation agreement
    May 18, 2012
    Hella Aglaia Mobile Vision, a subsidiary of Hella KGaA Hueck & Co., and Autoliv have agreed to cooperate and further develop their automotive forward-looking vision systems together. As part of the agreement that bundles the competencies of both companies, Hella Aglaia is selling an exclusive license on monovision based algorithms for traffic sign recognition (TSR), lane detection and light source recognition to Autoliv. By monitoring traffic signs, TSR helps the driver to keep the correct speed and follow
  • Falling asleep in an AV… but what happens next?
    September 18, 2019
    Sleeping while a driverless car speeds you to your destination has long been touted as the dream of the new technology – and something of a nightmare for safety campaigners. A new video from the BBC shows exactly what happens if a driver falls asleep in an autonomous vehicle (AV). In the filmed test, the AV prompts the driver to resume control when approaching roadworks on a motorway. When the driver fails to act, the vehicle comes to a halt and automatically parks in a lay-by. Motor industry research