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 17, 2017
    Europe’s road safety gains have stagnated EU
    Europe will fail to meet its road death targets as enforcement budgets are slashed and drivers face an epidemic of distractions. The European Union will not achieve its aim of halving the number of people killed on its roads each year by 2020, delegates to Tispol’s (the organisation of European traffic police) annual conference in Manchester were told. “The target will be missed because there was only a 17% decrease in road fatalities across Europe between 2010 and 2015 when [the rate of reduction] should h
  • June 4, 2015
    The future looks bright for ITS
    Professor Eric Sampson talks about the past successes of ITS, its potential for the future and the challenges the industry faces. If anybody should know when Intelligent Transport Systems started that person is Professor Eric Sampson, a visiting professor at both Newcastle and London City Universities. Having spent 40 years working for the UK’s Department of Transport and other public administrations, Professor Sampson now supports the European Commission on ITS systems and advises ERTICO ITS-Europe and ITS
  • April 14, 2022
    Weighing up the future with AI
    There is broad agreement that artificial intelligence will be an important part of Weigh in Motion as we go forward – but Adam Hill finds that not everyone agrees quite how close we are to that point
  • October 17, 2016
    Two seconds – the difference between life and death
    Professor Donald Fisher has spent 15 years identifying factors that increase the crash risk of novice and older drivers. His findings highlight the difference between living and dying, Colin Sowman reports.