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

  • Prison sentence for holding a mobile device while driving
    February 5, 2015
    As of 1 February, it will be illegal for drivers in Singapore to hold any type of mobile device while driving. Previously, only calling or texting someone on a mobile phone was barred. Anyone caught holding any mobile device, phone or tablet, while driving can be found guilty of committing an offence; this means mobile phones and tablets. The new changes include not just talking or texting but also surfing the web, visiting social media sites and downloading material. The law also applies to just hold
  • Cognitive boss on AV safety: ‘It’s about human life, not just big money’
    March 3, 2020
    Olga Uskova, founder and president of Russia-based Cognitive Technologies, puts herself in the hotseat with ITS International to answer questions about advanced driver assistance systems (ADAS), dominating the global market – and, of course, The Beatles…
  • CAA: Majority of Canadians believe texting while driving has got worse
    January 2, 2018
    83% of Canadians surveyed believe that texting while driving has got worse over the past three years and is also their number one concern alongside drink driving, according to the latest research from the Canadian Automobile Association (CAA). In addition, 96% said that drivers who text are a threat to their personal safety on the road.
  • AVs could be ‘terrorist threat’, says security firm Advent IM
    June 19, 2019
    Terrorists who have hijacked vans and trucks to drive into crowds – causing death and injury to pedestrians – could use autonomous vehicles (AVs) to achieve a similar result with no risk to themselves. That was the warning from Mike Gillespie, MD of security firm Advent IM. Speaking this week at the IFSEC International 2019 security conference in London, he said: “Imagine that you don’t have to get in the vehicle, you don’t have to be in the same city – or even the same country.” They would still be a