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

  • AI detects 9,000 run red lights in Latvia
    February 24, 2022
    Traffic monitoring prototype from LMT saves number plate in system for violations processing 
  • US launches distracted driving campaign
    April 7, 2014
    Launching National Distracted Driving Awareness Month, US Transportation Secretary Anthony Foxx announced the Department of Transportation's first-ever national advertising campaign and law enforcement crackdown to combat distracted driving. As part of the effort, television, radio and digital advertisements using the phrase U Drive, U Text, U Pay will run from 7-15 April, which coincides with a nationwide law enforcement crackdown in states with distracted driving bans.
  • Researchers test cost-effective vehicle automation
    April 17, 2013
    Researchers at Oxford University in the UK are testing a combination of off-the-shelf technology which could enable a car to drive itself for sections of a familiar route. Dr Ingmar Posner of the University’s mobile robotics group is part of a team working on the car which he believes could affordably reach the showrooms in ten or fifteen years.
  • Taking the hassle out of parking
    April 29, 2015
    A team of senior electrical and computer engineers from Rice University in Houston, Texas, has developed a new parking technology called ParkiT, with the aim of making it easier to find a parking space in a crowded car park. The team claims the new system is cheaper than sensor technology currently being used and would provide car park managers and attendants with real time information on available parking spaces. That information could then be shared with drivers through electronic signs or a driver-fri