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

  • Honda world first can detect the potential for traffic congestion
    April 27, 2012
    Honda Motor Company has announced the successful development of what it claims is the world’s first technology to detect the potential for traffic congestion and determine whether the driving pattern of the vehicle is likely to create traffic jams. The company developed this technology while recognising that the acceleration and deceleration behaviour of one vehicle influences the traffic pattern of trailing vehicles and can trigger the traffic congestion.
  • “Gas tax hasn't gone up since 1993: that's where tolling can come in”
    March 14, 2025
    IBTTA president James Hofmann talks to Adam Hill about new beginnings plus the need for tolling to get the user experience right, streamlining digital experiences - and what to expect from the IBTTA Technology Summit in Dallas
  • The future of in-vehicle navigation systems
    February 3, 2012
    TRL's Alan Stevens looks at the evolution and future prospects of in-vehicle navigation devices. Human-Machine Interaction (HMI) plays a crucial role in the safety of vehicles on our roads. Until we achieve full automation (and that's a debatable prospect anyway) a driver's interaction with the vehicle - all the controls, information and systems - holds a pivotal role in safe driving.
  • Grey areas: who's legally responsible for C/AVs?
    October 22, 2018
    Connected and autonomous vehicles are an exciting development in the ITS sector – but amid the hype some big questions about their deployment remain unanswered, finds Ben Spencer Connected and autonomous vehicles (C/AVs) have the potential to change the way we travel - and to eliminate road fatalities. But policy makers and regulators will need to ensure user and public safety is included in future planning. The legal and insurance industries will have to catch up, too. For example, questions over who is