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

  • Idaho adds human dimension to winter savings
    September 23, 2014
    Idaho leverages the increased capability and reliability of its road weather sensor network to reduce costs and prevent accidents. Weather-related accidents can form a significant chunk of an authorities’ annual road casualty statistics. While authorities cannot control the weather, the technology exists to monitor the road conditions and react with warnings to motorists and the treatment of icy or snow-covered roads. However, with all capital expenditure now placed under the microscope of public scrutiny,
  • ITS Australia Awards 2025 finalists announced
    November 13, 2024

    ITS Australia has announced 32 finalists for the 15th Annual ITS Australia Awards, with winners announced at a ceremony on 13 February 2025 in Perth, Western Australia.

  • Nervous about AV travel? You’ll get the Gist
    February 4, 2025
    Help is on the way for those anxious folk who will accept rides from automated vehicles but may feel uncomfortable doing so, reports David Arminas
  • Whitney Nottage: "Everyone in our industry should be advocates for ITS!"
    May 14, 2025
    Q-Free’s Whitney Nottage talks to Adam Hill about the importance of getting youngsters enthused about engineering – and about how the ITS sector could do with more collaboration