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

  • Researchers devise snow ploughing algorithm
    September 16, 2014
    Canadian researchers Olivier Quirion-Blais, Martin Trépanier and André Langevin have developed an algorithm to determine the most efficient routes for snow ploughs and gritters. Snow plough routing has always been something of a ‘black art’: to direct a fleet of show plough to clear priority roads without having the same road cleared several times while others are left untreated. Increasingly, GPS is being used to track the routes the clearing vehicles have taken but until now it has not been possible to ta
  • TRL to study London’s HGV operations
    March 18, 2015
    The UK’s Transport Research Laboratory (TRL) has been asked by Transport for London (TfL) to improve the understanding of how HGV operations are carried out in London, and why this group of vehicles is currently over-represented in accidents. HGVs, their drivers and operators are frequently in the news following involvement in accidents, particularly in London and particularly involving vulnerable road users. TRL is conducting research with HGV owners, drivers and business leaders to learn first-hand the in
  • Trans-Pennine road tunnel routes shortlisted, may include special lighting, caverns
    August 19, 2016
    Five routes have been shortlisted for the Trans-Pennine tunnel – the most ambitious road scheme undertaken in the UK in more than five decades. The Trans-Pennine tunnel study was launched by the government in autumn 2015, one of a number of studies aimed at addressing some of the biggest challenges facing the road network in the UK. The latest interim study shows the continued strong case for the tunnel which could provide safer, faster and more reliable journeys for motorists. All five routes join th
  • On-road and in-vehicle are not in competition
    May 18, 2018
    The integrity and accuracy of data that can be verified by weigh-in-motion technology has been improving for decades – and the range of WIM applications is increasing at a tremendous pace. Chris Koniditsiotis, president of the International Society for Weigh-in-Motion (ISWIM) and CEO of Transport Certification Australia (TCA), began his career in 1985 as a pavements engineer. “When I joined this portfolio, the integrity, accuracy, and sampling frequency of mass information delivered at best an estimate, us