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 could have ‘huge value’ in inner cities
    June 13, 2019
    Autonomous vehicles (AVs) could have value as the mainstay of inner city transport networks in future. “It’s pure speculation, but we are likely to see more segregated road networks,” said Chris Hayhurst, European consulting manager at MathWorks. For example, level 5 (completely driverless) AVs could simply be used to pick up and drop off people in the centre of a town. “In an inner city where there are no conventional cars at all it could have huge value,” he added. Hayhurst spoke to ITS Internat
  • Columbia develops smart VRU headphones
    March 18, 2020
    The Data Science Institute (DSI) at New York’s Columbia University is designing an intelligent headphone system that uses miniature microphones and intelligent signal processing to detect sounds of approaching vehicles.
  • Canadian city pilots technology to improve traffic flow, safety
    August 21, 2015
    The City of Edmonton, Canada is piloting new traffic technology to help drivers get where they need to faster, easier and more safely, with the help of the University of Alberta's Centre for Smart Transportation. The city is testing an Advisory Driving Speed system on one of the city’s major freeway where the legal speed limit is 80 km/h and which experiences congestion issues during peak periods. Signage informs drivers of the recommended speed they should travel to avoid traffic jams and sudden stops,
  • ITS Australia 2025 Awards: the winners
    February 14, 2025
    CEO Susan Harris praises 'collaborative spirit' to deliver data-led solutions