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

  • Active traffic management increases safety and capacity
    February 2, 2012
    WSDOT is deploying Active Traffic Management in order to increase safety and capacity on its strategic roads. WSDOT's Patricia Michaud elaborates
  • Keeping cyber criminals from your website
    November 10, 2017
    If a hacker can penetrate your website, they can do business as you. Joe Dysart explains how you and your customers may not discover the fraud for some time. In the latest twist on identity theft, hackers are clandestinely taking over business websites - and then brazenly billing visiting customers as if the sites are their own.
  • Continental: US road deaths are ‘public health crisis’
    June 6, 2019
    The 40,000 deaths on US roads last year amount to a ‘public health crisis’, according to Continental North America’s president Jeff Klei. Giving the opening keynote address at ITS America’s 28th Annual Meeting & Expo, Klei said: “If you could save 40,000 lives a year, would you? We believe this situation needs to be treated with the same priority as other health crises in this country.” But help is at hand, he said. The concept of ‘Vision Zero’, where there are no fatalities from crashes, “seems a lon
  • Init launches in-vehicle driver and vehicle monitoring
    December 9, 2014
    According to Init, its new Mobile-Eco2, a vehicle health and driver behaviour management system, improves the economy and ecology of public transit.