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

  • December 28, 2021
    Artificial Intelligence applications for commercial vehicle operations
    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.
  • January 20, 2012
    Sound synthesis makes hybrid and electric vehicles safer
    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
  • October 12, 2017
    Driver Ahead conference: more training needed on driverless cars
    Driverless cars can create confusion unless training meets the fast pace of change and helps drivers cope with a whole new set of demands, according to a conclusion reached by industry experts at London’s ‘Driver Ahead’ conference in London. The IAM RoadSmart/ RAC Foundation/ Pirelli event consisted of over 100 industry experts who set out to map a safe route for driverless cars. Guest speaker Victoria Coren-Mitchell opened the conference by introducing the “death by code” concept
  • July 16, 2012
    Semi-autonomous hybrid vehicle trials show fuel, emission savings
    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