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

  • Simulating the effects of optimal mobility
    May 30, 2024
    Simulation-based optimisation is the foundation for real-time predictive analytics when it comes to optimal traffic signal programming, explain Sunny Chakravarty of Econolite and Lorenzo Meschini of PTV Group
  • New Volvo challenges connected car thinking
    September 8, 2014
    In America, the introduction of the Wi-Fi Innovation Act has sees the debate over the future of the 5.9GHz band and the potential to open it up to non-licenced users, enter a new phase. Amid the claim and counter-claim of the opposing camps, the launch of Volvo’s new XC90 is easily overlooked and while a connection between the two is not immediately apparent, the new all-wheel drive SUV could be a game-changer.
  • Authorities play the parking ticket
    April 10, 2014
    Having long been a cause of contention with their constituents, local authorities are now using parking provision to entice shoppers and reduce congestion. To say that parking, and particularly parking enforcement, is a contentious and emotive issue is something of an understatement. Across the globe the discontentment with parking facilities, charges and enforcement is a major cause of friction between local authorities and the residents, businesses and drivers in the area. Recently there was outrage in
  • Maine to trial rail-trespasser detector
    September 19, 2013
    Brunswick, Maine, will be the site of an unusual three-year research project involving testing an automated trespasser detection and deterrent systems in high-risk areas along the Pan Am railways and Amtrak Downeaster rail lines, the Maine Department of Transportation has said. Researchers will install and operate systems that automatically detect trespassers, capture video with wireless cameras and issue recorded warnings to tell them to get away from the tracks. The systems also can be used to alert lo