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

  • ETSC criticises road safety 'own goal'
    March 28, 2022
    Safety group highlights concerns over data retrieval issues in collision investigations
  • Get connected
    May 18, 2012
    Delegates at National Harbor this week have opportunity to gain first hand experience of a national connected vehicle program Vehicles of the test fleet of an extensive research program are being put through their paces each day of this year’s ITS America Annual Meeting. With the key objective of showing how vehicles from different manufacturers can communicate and understand each other, technology of the US DOT Connected Vehicle Safety Pilot Program is being demonstrated at National Harbor.
  • NTSB: Uber’s AV in fatal crash ‘had software issues’
    November 6, 2019
    The US National Transportation Safety Board (NTSB) has found that an Uber autonomous vehicle which killed Elaine Herzberg last year had software flaws. NTSB released a report which says the Volvo XC60’s autonomous system software classified the pedestrian as an unknown object and determined that an emergency braking manoeuvre was needed to mitigate the collision. Uber confirmed that emergency braking manoeuvres must be carried out manually and the system is not designed to alert the driver. Data
  • The search for travel management's Holy Grail
    October 10, 2018
    Combining accurate network estimates and forecasts with real-time information is the way to deal with traffic hot spots. Alan Dron looks at products which aim to achieve just that. Traffic management authorities have for years been trying to get ahead of the game. Instead of reacting to situations, they want to be able to head them off as they occur – or even before they happen. Finding that Holy Grail of successfully anticipating problems will save time, tension and tempers on city streets. Two new system