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

  • March 2, 2012
    Loop detection still has a part in traffic management
    Bob Lees, co-founder of Diamond Consulting Services, on why the loop detector just refuses to go away. The more strident proponents of newer and emergent detection technologies are quick to highlight what they see as the disadvantages, and hence the imminent passing, of the humble inductive loop. The more prosaic will acknowledge that loops continue to have a part to play in traffic management, falling back on the assertion that it is all a question of application. And yet year after year the loop, despite
  • March 31, 2022
    Tragedy drives Acusensus Heads Up
    Acusensus, the enforcement solution for illegal and dangerous driving behaviour, has a personal tragedy behind it.
  • January 5, 2016
    Machine vision takes ITS further than the eye can see
    Vitronic’s John Yalda looks at how machine vision has become an integral part of many ITS deployments and why it complements, rather than replaces, ANPR. New and conventional business concepts like online shopping and mail order business are becoming more established in the cultures of fast-growing economies and increasing the demand for flexibility in the freight transportation and logistics industry. Road transport has become the preferred infrastructure for freight forwarding and several studies predict
  • May 20, 2013
    Visteon cockpit concept learns the driver's habit
    A cockpit concept that offers advice on a different route when there are delays on the usual road, or adjusts the cabin temperature based on the driver’s preferences and the outside temperature, has been developed by US automotive supplier Visteon. Habit offers these solutions and others by incorporating artificial intelligence (AI) to deliver an enhanced driving experience. Visteon's Human Bayesian Intelligence Technology (Habit) system employs machine learning algorithms that are cognisant of the specific