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

  • Six businesses accelerate towards road safety trials in England
    September 3, 2024
    Hazard reduction is aim of safety tech competition from National Highways
  • Creating safer roads with vehicle communication
    March 26, 2013
    Accurate, timely information which eliminates the need to brake quickly when approaching a work zone or other road hazard could prevent crashes and save lives, according to research by the University of Minnesota. Thanks to research by the University of Minnesota, this vision is closer than ever to reality. “In the past fifty years we’ve made great strides in reducing traffic fatalities with technologies that save lives in crashes, like airbags and seat belts,” says M. Imram Hayee, electrical and computer e
  • After two decades of research, ITS is getting into its stride
    June 4, 2015
    Colin Sowman gets the global view on how ITS has shaped the way we travel today and what will shape the way we travel tomorrow. Over the past two decades the scope and spread of intelligent transport systems has grown and diversified to encompass all modes of travel while at the same time integrating and consolidating. Two decades ago the idea of detecting cyclists or pedestrians may have been considered impossible and why would you want to do that anyway? Today cyclists can account for a significant propor
  • RoadPeace exhibition highlights human cost of collisions
    May 26, 2023
    When Lives Collide is the starkest possible illustration of the importance of road safety. Adam Hill talks to Paul Wenham-Clarke, professor of photography at the Arts University Bournemouth, about the inspiration for this heart-wrenching collection of images and memories