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

  • March 6, 2018
    ITSA’s Shailen Bhatt looks to the future
    The new boss of ITS America is fizzing with ideas. Shailen Bhatt talks to Adam Hill about the need to rebrand the ITS industry, how technology can leverage tax dollars – and where the Star Wars universe fits in to his philosophy. Shailen Bhatt has a big job on his hands. The CEO and president of the Intelligent Transportation Society of America is the second to hold the post in two years following the resignation last July of his predecessor Regina Hopper. It has not been the easiest time for the
  • November 3, 2015
    New hands-free technologies pose hidden dangers for drivers
    Potentially unsafe mental distractions can persist for as long as 27 seconds after dialling, changing music or sending a text using voice commands, according to surprising new research by the AAA Foundation for Traffic Safety. The results raise new and unexpected concerns regarding the use of phones and vehicle information systems while driving. This research represents the third phase of the Foundation’s comprehensive investigation into cognitive distraction, which shows that new hands-free technologies ca
  • May 7, 2020
    Columbia brings the noise to VRUs
    ‘Twalking’ – the practice of staring at a smartphone screen while walking – may be a matter for wry amusement for the non-addicted, but is potentially hazardous to the phone users. A US research project may have found a solution, finds Alan Dron
  • February 3, 2012
    Driver training saves lives, increases profits, reduces costs
    An innovative UK Government initiative on work-related driver training has resulted in astonishing success, not only in terms of government objectives, but also in substantial cost-benefits for companies and public sector authorities participating in the scheme: they save lives and increase profits/reduce costs Here, we present an overview of the initiative and, overleaf, provide a detailed cost-benefit analysis which amply illustrates why it has been enthusiastically embraced by industry and the public sec