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

  • MEPs discuss guidelines for drone use and safety
    October 30, 2015
    As commercial services using drones take off and their recreational use becomes ever more popular, it must be ensured that they pose no threat to public safety or personal privacy, said MEPs in a resolution passed on Thursday on the initiative of the EP transport committee. Drones, which could be used to provide various services, such as inspecting rail tracks, dams, and power plants, assessing natural disasters, crop spraying, film production and parcel delivery have great potential for stimulating economi
  • Synthetic data v the real thing
    January 9, 2023
    ITS and smart cities thrive on data: but does all the data need to be real? Steve Harris of Mindtech explains why the answer could lie in combining elements of the real world with the synthetic
  • Smarter transport remains key to smart cities
    January 9, 2018
    Colin Sowman looks at some of the challenges and solutions that will provide enhanced transport efficiency in tomorrow’s smarter cities. However you define a ‘smart city’, one of the key ingredients will be an efficient transport system. As most governments and city authorities face financial constraints, incremental improvements in the existing systems is the most likely way forward. In London, new trains and signalling are improving the capacity of the Underground but that then reveals previously
  • Movement off the ball is key to World Cup 2026 success
    July 11, 2024
    Warming up! The Fifa World Cup will land in the US in 2026. David Arminas hears how one of the host cities, Seattle, is getting ready for an influx of crowds