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

  • December 21, 2015
    Measuring alertness to avert drowsy driver incidents
    Falling asleep at the wheel is the primary cause in thousands of deaths on American and other roads, with truck drivers the most at-risk group. David Crawford investigates measures to counter drowsy driving.
  • November 2, 2017
    SmartDrive launch new suite of sensors to tackle high-risk driving behaviour
    SmartDrive Systems has introduced its SmartSense for Distracted Driving (SSDD), the first in a new line of intelligent sensors that are designed with the intention of identifying dangerous driving habits and intervening with drivers before a catastrophic event occurs. It uses computer vision-based algorithms along with SmartDrive’s video analytics platform to recognize when a driver is distracted.
  • March 28, 2018
    US DOTs introduce measures to stop wrong-way driving
    Wrong-way driving (WWD) is a remarkably innocuous term for incidents that all too often cause some of the worst accidents that emergency services have to deal with. Several US states are now taking steps to minimise the problem, as Alan Dron finds out. You’re driving down a highway at night when you see approaching headlights. You initially assume they are merely those of an oncoming car on the opposite carriageway. It’s only when they are within 200 yards or so that you realise that the other driver is in
  • April 5, 2017
    Autonomous vehicles will not prevent half of real-world crashes
    Alan Thomas of CAVT looks at the reality behind the safety claims fuelling the drive towards autonomous vehicles