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

  • GPS delivers accurate journey time data for UTC
    January 27, 2012
    A new solution developed as a consequence of the UK's Freeflow project fuses GPS and UTC loop data to give more accurate predictions of journey times, benefting network managers and travellers alike. By Matt Cowley and Gareth Jones, Trakm8 and John Polak and Rajesh Krishnan, Imperial College London
  • Flir boosts traffic flow with TrafiBot AI camera
    May 13, 2024
    It uses two proprietary AI models developed from millions of Flir-captured images
  • Most crash reports do not capture critical data, says National Safety Council
    April 25, 2017
    A National Safety Council review of motor vehicle crash reports from across the US found no state fully captures critical data needed to address and understand the rise in roadway fatalities. Crash reports from all 50 states lack fields or codes for law enforcement to record the level of driver fatigue at the time of a crash, while many others lack fields to capture texting, hands-free cell phone use and specific types of drug use if drugs are detected, including marijuana. Excluding these fields limits the
  • Making enforcement multi-functional
    June 23, 2016
    New enforcement equipment is coming onto the market apace, as Colin Sowman discovers. If there is one word that epitomises the current trend in enforcement technology then that word is consolidation: multi-function cameras, miniaturisation and combining radar and visual detection methods. One example is Turkish company Ekin Technology’s recently introduced Micro Plate is claimed to be the smallest licence plate recognition device. In addition to logging licence plate data, the system records speed, date, ti