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

  • February 13, 2015
    Crashes affect one in three but drivers continue to take risks
    According to the AAA Foundation’s latest Traffic Safety Culture Index, too many Americans report that they regularly speed, run red lights, use distracting devices or drive drowsy, despite the fact that one in three have a loved one who has been seriously injured or killed in a crash. The results further find that unsafe behaviour persists even though one in five drivers have themselves been involved in a serious crash, and one in ten has been seriously injured in a crash. These most recent findings from
  • June 3, 2015
    Distraction dominated teen driver accident causes.
    As a new report shows that distracted driving is a bigger cause of accidents than previously thought, Jon Masters asks what should be done to counter this problem. Research carried out by the AAA Foundation for Traffic Safety has shed new light on the dangers of distraction for teen drivers. Six years of study using video analysis has shown that 58% of all crashes involving teen drivers are caused by the driver being distracted and proved that the influence of external factors is stronger than previously th
  • March 29, 2017
    When speed compliance becomes a safety issue
    David Crawford finds that softly, softly can be safely, safely when it comes to speed enforcement. Comedians and controversial TV presenters have long made jokes about having to watch the speedometer so closely as they pass speed camera after speed camera that they mow down bus queues. But the joke may have some factual basis according to a study by researchers from the University of Western Australia.
  • June 2, 2015
    Self-driving car safety perspectives
    At yesterday’s Opening Plenary, Chris Urmson’s keynote speech dealt with the reality of driverless cars on our roads. By far and away their greatest benefit to mankind will be the potential to achieve an incredible saving of life and injury on the roads, as Urmson, director of the Google Self-Driving Car program, revealed to delegates. In response to an Associated Press article last month disclosing that self-driving cars have been involved in four accidents in the state of California, Urmson revealed th