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

  • TRL joins MIT CSAIL Alliance Program
    July 27, 2016
    To capitalise on the opportunities posed by new technology, the UK’s Transport Research Laboratory (TRL) has formed a strategic alliance with the Computer Science and Artificial Intelligence Laboratory (CSAIL) at the Massachusetts Institute of Technology (MIT). Joining organisations such as Apple, Google, BP, Intel, BT and BAE Systems as a member of the CSAIL Alliance Program, TRL will work closely with MIT to enhance its existing knowledge and capabilities in the areas of artificial intelligence, robotics
  • Terrestrial solution to stellar shortcomings
    December 5, 2013
    Inherent weaknesses in satellite communications are leading several countries to re-evaluate terrestrial-based backup systems. There is a tale frequently told in satellite navigation circles, of how landing systems at Newark Airport were disrupted by a truck driver using GPS jamming equipment as he drove along the New Jersey Turnpike. While there was no threat to flight safety as the interference to GPS reference stations being tested, the story highlights how apparently benign threats have the potential t
  • Brigade into AI action on CarEye safety
    September 7, 2022
    AI system warns vehicle drivers of potential collisions with vulnerable road users
  • Reduce fatal crashes? Get police on the road
    July 8, 2019
    There are many elements to speed enforcement - but research suggests there is a strong correlation between getting police on the roads and reducing fatal collisions There are a variety of elements which go into successful speed enforcement. The European Union’s blueprint for this (see 10 Rules…) ranges from prioritising roads to offender education courses, and from legislation to data. But research suggests that one of the key factors is visibility – drivers need to see technology in action or police on