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

  • New York’s MTA tests new safety technology on buses
    October 5, 2015
    As part of the MTA’s ongoing commitment to improving safety across all agencies and in coordination with New York City’s Vision Zero plan, MTA New York City Transit has begun to test new technologies aimed at improving safety for drivers, bus customers and pedestrians. The 60-day tests of pedestrian turn warning and collision avoidance systems will determine if a full pilot of one or both systems can proceed in 2016. NYC Transit’s Department of Buses is testing two systems on six buses: a pedestrian turn
  • Rail signalling system ‘could be liable to hacking’
    April 27, 2015
    A new rail signalling system to be installed across the UK could be liable to hacking, a government adviser has warned. Professor David Stupples told the BBC that the European Rail Traffic Management system (ERTMS) could be exposed to malicious software, or malware, and used to cause an accident perhaps telling the system the train is slowing when down when it is speeding up. "However, he said governments aren't complacent."Certain ministers know this is absolutely possible and they are worried about
  • IRF Geneva leads UN road safety meeting
    October 5, 2022
    The International Road Federation (IRF) in Geneva convened key industry leaders to discuss “Action for Road Safety: Private Sector Leadership” on the occasion of the UN High Level Meeting on Global Road Safety hosted in New York
  • ‘What’s the optimum number of cooks?’ asks Valerann
    October 23, 2023
    ITS Software as a Service specialist explains in detail how cross-source, cross-type, deep data fusion is solving global traffic accident conundrums