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

  • How on-board video systems can increase vehicle & road safety
    January 7, 2022
    Hikvision examines technology which can avert danger in cars, school buses, taxis and trucks
  • Sound synthesis makes hybrid and electric vehicles safer
    January 20, 2012
    The growing popularity of hybrids and electric vehicles gives rise to new safety issues in urban environments, as many of the aural cues associated with engine noise can be missing. The solution is to intelligently make vehicles noisier. The rise in popularity of hybrids and Electric Vehicles (EVs) is a result of environmental pressures, shifts in taxation and emerging technologies for batteries and motors. Competition among the car manufacturers means these vehicles need to be cost effective to buy and ope
  • Artificial Intelligence applications for commercial vehicle operations
    December 28, 2021
    The combination of machine learning, deep neural networks and computer vision provides opportunities to address in new ways an increasing range of functions that are a part of commercial vehicle operations. Here, IRD’s Rish Malhotra details how.
  • Semi-autonomous hybrid vehicle trials show fuel, emission savings
    July 16, 2012
    The Transport Research Laboratory has unveiled an innovative semi-autonomous vehicle prototype. It offers improves in environmental performance and safety but also displays some shortcomings. Mike Woof reports. The UK's Transport Research Laboratory (TRL) has been working on an innovative project to develop a prototype vehicle intended to reduce fuel consumption. Based on a Ford Escape hybrid model, TRL's Sentience vehicle uses a combination of mobile communications and mapping technologies to reduce fuel c