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

  • Siemens: self-driving minibuses are the future of first-/last-mile
    February 26, 2020
    Markus Schlitt, CEO of intelligent traffic systems at Siemens Mobility, talks to ITS International about safety and why it is important for cities to offer additional shared and connected transit options.
  • In-vehicle systems as enforcement enablers?
    January 30, 2012
    From an enforcement perspective at least, Toyota's recent recalls over problems with accelerator pedal assemblies had a positive outcome in that for the first time a major motor manufacturer outside of the US acknowledged publicly what many have known or suspected for quite a while: that the capability exists within certain car companies to extract data from a vehicle onboard unit which can be used to help ascertain, if not prove outright, just what was happening in the vital seconds up to an accident or cr
  • Speed reduction measures - carrot or stick?
    January 23, 2012
    In Sweden, marketing company DDB Stockholm employed a mock speed camera as part of a promotional campaign for automotive manufacturer Volkswagen. The result was worldwide online interest and promotion of the debate over excessive speed to the national level. A developing trend in traffic management policy is to look at how to induce road users to modify their behaviour by incentivising change rather than forcing it through the application of penalties. There have been several studies conducted into this; an
  • Xerox counts on machine vision for high occupancy enforcement
    October 29, 2014
    Machine vision techniques can provide solutions to some of the traffic planners most enduring problems With a high proportion of cars being occupied by the driver alone, one of the easiest, most environmentally friendly and cheapest methods of reducing congestion is to encourage more people to travel in each vehicle. So to persuade people to share rides, high occupancy lanes were devised to prioritise vehicles with (typically) three of more people on board and in some areas these vehicles are exempt from