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

  • Acusensus highlights magnitude of seatbelt problem
    March 8, 2023
    If you don’t wear a seatbelt, you’re disproportionately likely to be killed in road collisions. Geoff Collins of Acusensus talks to Adam Hill about how AI will allow police to monitor and prevent this risky behaviour
  • OpenSpace visualises how social distancing will work
    May 26, 2020
    OpenSpace CEO Nicolas Le Glatin tells Adam Hill how Xovis camera tech might help unlock more convenient ways for moving through mobility hubs during Covid-19
  • Spot speed deterrent proved to be transient
    October 18, 2013
    As research and trials show the benefits of average speed enforcement - David Crawford reviews developments on two continents. August 2013 saw the switch on of the Australian State of Victoria’s latest combined point-to-point (P2P) average speed enforcement (ASE) and spot camera control system. Installed on the 27km Peninsula Link to the south-east of Melbourne, the system uses high-resolution automatic number plate recognition (ANPR) cameras and optical character recognition (OCR) technology developed b
  • Annika Lundkvist of Pedestrianspace.org: "How are you moving today?"
    March 8, 2024
    It’s easy to say that people should embrace active travel – but it’s often not as simple as that. Advocates must beware of a disconnect with people’s lives and options on the ground, says Annika Lundkvist