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

  • New Zealand government wants fewer road deaths
    July 25, 2019
    The government of New Zealand is developing a plan aimed at reducing 750 deaths and 5,600 serious injuries expected on its roads over the next ten years. Anne Genter, associate transport minister, says: “Most roads deaths and serious injuries are preventable and too many New Zealanders have lost their lives or been seriously injured in crashes that could have been prevented by road safety upgrades.” Genter believes the new target can be achieved mainly by increasing investment in road safety infrastr
  • Most pedestrian detection systems ‘hit pedestrians at 30mph’
    October 14, 2019
    In-car automatic emergency braking systems with pedestrian detection mostly fail to avoid hitting pedestrians - and are “completely ineffective at night”, according to new research. In shocking findings, the American Automobile Association (AAA) revealed that most systems hit a simulated pedestrian target at 30mph. A collision also occurred 89% of the time when a vehicle operating at 20mph encountered a child darting between two cars. In tests, all vehicles collided with an adult pedestrian immediately fo
  • Is GIS modelling the answer to the implications of age?
    January 26, 2012
    Geoff Zeiss of Autodesk talks about the convergence going on between GIS and other software systems which will revolutionise the design and construction of nations' utilities. The issue is that we're getting old. But forget the discovery of body hair in places it never used to be, whether or not to dye, contact lenses versus glasses - in fact, put aside entirely the decision to age gracefully or outrageously; the personal implications pale next to the effects on wider society. Faced with the problem of how
  • Kyocera’s illuminating innovation
    November 21, 2022
    Company develops lighting system that operates in both visible and near-infrared bands