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

  • US to unify regulations on cell-phone use at the wheel?
    April 19, 2012
    A new bill being presented in the US may ban the use of cell-phones by drivers while at the wheel. Should this bill go ahead, it would unify actions in a number of states under a single law that applies to the entire country. The move, called the Safe Drivers Act, is seen crucial to plans to tackle distracted driving.
  • Carol Schweiger: "I never looked back"
    January 14, 2025
    Carol Schweiger is a legend of the ITS industry. She talks to Adam Hill about her career, real train sets, equity, AI, quantum computing – and the difficulty of behaviour change
  • Huawei’s clearer vision for safe traffic
    August 4, 2020
    Rates of compliance with traffic laws are often linked to the chances of detection. Andrew Watson explains how intelligent traffic management solutions can help change drivers’ behaviour
  • Continental and Oxford University jointly researching artificial intelligence
    November 11, 2016
    International technology company Continental and the Department of Engineering Science at the University of Oxford are now conducting joint research in the field of artificial intelligence in a partnership which will focus on the possible uses and development of artificial intelligence algorithms, which have the potential to further enhance future mobility applications. These deep-learning algorithms have the potential to deliver future visual object detection and human–machine dialogue.