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

  • May 10, 2023
    Austrian Bike2CAV V2X project could mark turning point in cyclist safety
    Research in Salzburg into C-ITS equips bikes with V2X tech to allow detection via ITS-G5
  • September 29, 2014
    Google Glass ‘as dangerous as texting while driving’
    Texting while driving with Google Glass is clearly a distraction, a new University of Central Florida UCF) study has concluded, but there is a twist. In the study, texting Glass users outperformed smartphone users when regaining control of their vehicles after a traffic incident. The study, conducted in cooperation with the Air Force Research Laboratory, is the first scientific look at using Google Glass to text while driving. Distracted drivers are a hazard on the road and according to the National S
  • October 28, 2016
    New solutions for catching texting drivers
    Many countries have laws prohibiting texting while driving but enforcement is proving difficult – David Crawford looks at some new approaches being tried by authorities. Finding definitive solutions – technological, regulatory and educational - to the potentially lethal practice of people driving while using mobile phones is proving elusive, while the stakes grow higher.
  • July 24, 2012
    Driving forward cooperative intersection safety applications
    Gregory Davis, FHWA, John Harding, NHTSA, and Mike Schagrin, ITS Joint Program Office (RITA) chart the course for cooperative intersection safety applications being pursued as part of the IntelliDrive programme. Crashes at intersections accounted for 8,703 highway fatalities in the US in 2008. Research and development is moving forward on IntelliDriveSM safety applications designed to help drivers avoid intersection accidents. These new safety systems could substantially drive down the highway death and inj