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

  • AVs need to be ‘100 to 1,000 times better than humans’, says Intel
    January 14, 2019
    Autonomous vehicles (AV) need to have a robotic system which is better than a human driver, because society will not accept machines killing people, according to Intel. Speaking at the Consumer Electronics Show 2019 in Las Vegas, Intel senior vice president Amnon Shashua said AVs probably need to be 100 to 1,000 times better than the human experience - which presents the question of how to validate such a system. “When you do your calculation, the amount of data you need to collect to verify somethi
  • Google’s self-driving cars can ‘exceed the speed limit to aid safety’
    August 20, 2014
    According to Google's lead software engineer, Dmitri Dolgov, the company’s self-driving cars are programmed to stay within the speed limit, mostly. Research shows that sticking to the speed limit when other cars are going much faster actually can be dangerous, Dolgov says, so its autonomous car can go up to 10 mph (16 kph) above the speed limit when traffic conditions warrant. Dolgov told Reuters during a test drive that when surrounding vehicles were breaking the speed limit, going more slowly could act
  • Use of AI, unlocking innovation - and new political leaders: our experts pick out 2025's key drivers
    December 30, 2024
    Is predicting the future doomed to failure? Not when ITS International's experts are on the case...
  • Standardised technology aids low cost wireless communication
    November 13, 2012
    In the UK, the necessary radio spectrum has been identified and standardised technology developed to allow cost effective wireless communication between cars, devices and other ‘machines’. This by Professor William Webb. A world free of traffic congestion, with intelligent systems directing vehicles and alerting drivers to free parking spaces may sound a far off fantasy to motorists stuck in seemingly endless queues on the outskirts of London. Yet this is a scenario not confined to the world of science fict