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

  • June 17, 2016
    Artificial intelligence systems for autonomous driving on the rise, says IHS
    According to the latest report from market research firm HIS, Automotive Electronics Roadmap Report, as the complexity and penetration of in-vehicle infotainment systems and advanced driver assistance systems (ADAS) increases, there is a growing need for hardware and software solutions that support artificial intelligence, which uses electronics and software to emulate the functions of the human brain. In fact, unit shipments of artificial intelligence (AI) systems used in infotainment and ADAS systems are
  • September 17, 2014
    Apple iWatch to significantly impair driving performance says IAM
    Leading road safety charity the Institute of Advanced Motorists (IAM) is warning drivers about the potential risks associated with smart watches while driving. The latest piece of wearable technology from Apple will allow users to make and receive calls, check messages and monitor their health by operating the device on their wrists. However, the IAM warns that this could significantly impair driving performance – a major cause for distraction and road accidents.
  • October 10, 2018
    Just Zip it! Lindsay takes to the road
    Greater vehicle connectivity is going to have huge implications for traffic management. David Arminas climbed aboard a Lindsay Road Zipper to see what this might mean in future As vice president of barrier specialist QMB Canada, Marc-Andre Seguin is sanguine about the future for moveable barriers. On the one hand, it looks good. The oft-stated advantage of moveable barriers is that the systems are cheaper to install than adding a lane or two to a highway or bridge. Directional changes to lanes can boost
  • December 3, 2020
    Spin pledges £100,000 to mobility research
    Initial focus is on safety and will include data from Vivacity Labs' AI and IoT sensors