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

  • May 9, 2019
    Virginia Tech reveals vested interest
    New ITS systems on either side of the Atlantic – such as an intriguing piece of connected clothing – aim to reduce the casualty toll among road maintenance personnel, says Alan Dron t’s not a lot of fun working on road maintenance or road construction worksites. By definition, you’re out in all weathers. You’re not popular with motorists, who blame you for hold-ups. It’s frequently physically arduous. And, worst of all, the sector has an unenviable record of injuries - even fatalities. Often working jus
  • October 12, 2015
    Driver error cited in 117,000+ road accident casualties
    Analysis by the Institute of Advanced Motorists (IAM) has found that human factors continue to significantly outweigh other reasons for crashes on British roads, and have called again for drivers to look on improving driving skills as part of their lifelong personal development. The figures from the Department of Transport show that in 2014 driver/rider error or reaction were cited as contributory factors in 74 per cent of accidents, involving more than 117,000 casualties. Some 20,830 of these were in Lo
  • April 17, 2012
    Enforcement cuts distracted driving dramatically
    The government of Indonesia says it is working to reduce the number of road deaths in the country by 50 per cent by 2020 and by 80 per cent by 2035. To achieve this, the government will be upgrading the road infrastructure as well as introducing a road safety programme that will run over a ten-year and 25-year plans, starting this year. The programme will be overseen by the National Planning Development Board with involvement of the national police as well as the public works, transportation, national educa
  • October 23, 2012
    AISIN demonstrates array of automatic detection for road safety
    Vehicle technology manufacturer AISIN is exhibiting a complete array of sensor technology for road safety, including a system that detects if a driver has stopped breathing or suffered a heart attack. Highly sensitive sensors in the driver’s seat pick up on loss of cardiac, pulmonary or body movement, which could then activate vehicle braking while alerting emergency services. “There have been very serious road accidents caused by drivers having heart attacks or suffering other illnesses and losing control