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

  • Hani Mahmassani, ITS 'rock star' academic, passes away
    July 18, 2025
    Distinguished Northwestern professor was mentor to many practitioners
  • AV technology ‘could reduce congestion’, says Australian minister
    February 26, 2019
    Congestion costs would drop by more than a quarter if automated vehicles (AVs) account for 30% of kilometres travelled, says Alan Tudge, Australia’s minister for cites urban infrastructure and population. Speaking at the Australia-New Zealand Cities Symposium in Sydney, Tudge revealed findings from the Bureau of Infrastructure, Transport and Regional Economics. “They estimate it would drop from $37 billion of avoidable congestion to $27 billion,” Tudge says. A 30km freeway journey in Melbourne has increas
  • UK govt seeks cycle safety evidence as report calls for new laws
    March 13, 2018
    A report from legal expert Laura Thomas has claimed that there is a strong case for changing the law to combat dangerous cycling, which if implemented, would bring offences in line with dangerous driving. It ties in with the Department for Transport's Call for Evidence, which is seeking to address issues that cyclists and pedestrians face, or perceive when using the road infrastructure. Thomas said: “Overall, in my opinion, the present law on cycling is not sufficient. I suggest that an offence comprising
  • Portland puts priority software into service
    August 25, 2022
    TriMet deploys Lyt's intelligent transit signal system for improved traffic flow