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

  • Austria’s Joanneum Research tackles issue of tunnel safety
    April 18, 2024
    Accidents and incidents in tunnels are particularly problematic. Dangers are magnified when they occur in a restricted space and more vehicles quickly become involved.
  • East Africa uses cargo tracking to foils criminals and collect tax
    June 10, 2015
    Shem Oirere looks at the beneficial effect of cargo tracking. The mandatory installation of electronic cargo tracking and security (ECTS) systems in Kenya, Tanzania and Uganda has helped enhance revenue collection, enforce cargo handling requirements, improved the business environment of the respective countries’ trade routes and helped cargo hauliers cut costs. This is being spearheaded by the state-owned tax collection agencies and the improved custom duty collection has not only enabled a reduction of im
  • Axis gets on board
    August 30, 2019
    Vision technology provider Axis Communications has set up a camera system for ATrain, which owns and operates rail services – including seven trains and one workshop - between Stockholm and Arlanda Airport. The Arlanda Express trains run on one of the few privately-operated railroad lines in Sweden. The company decided in 2015 to install a camera solution at train stations and depots to monitor flows of travellers, checking signs, elevators and escalators and making sure that the ticket machines are wor
  • AVs and poor weather – a bad mix
    May 11, 2020
    The US DoT has produced a report on how adverse weather and road conditions will affect automated vehicles – it found inconsistency between different cars with these features which are already on highways and suggests limitations are not yet understood