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

  • UR:BAN developing driver assistance and traffic management systems
    May 16, 2014
    European vehicle manufacturers, including BMW, Opel and Mercedes-Benz and MAN, are taking part in a new project to develop advanced driver assistance and traffic management systems for cities. The focus is on the human element in all aspects of mobility and traffic and takes the form of three approaches: Cognitive Assistance; Networked Traffic Systems; and Human Factors in Traffic. The four-year UR:BAN project (from a German acronym for Urban Space: User-oriented assistance systems and network managemen
  • V2X: The design challenges
    May 2, 2018
    The connected future throws up a number of enticing possibilities for us all. But, says Houman Zarrinkoub of MathWorks, issues around visualisation, prototyping and model evolution need to be examined carefully. We are all aware of the huge amount of investment going into driverless car technologies. With the likes of Volvo, Tesla and BMW getting in on the act, soon they will be a common sight on our roads. However, for this to occur, the vehicles must be able to connect with each other and ensure driver
  • Intertraffic Awards 2022: shortlist announced!
    February 4, 2022
    Winners will be revealed at the opening ceremony of Intertraffic Amsterdam in March
  • When traffic data can get it totally wrong
    November 30, 2021
    How can a highway devoid of traffic provide data suggesting it is filled with vehicles crawling along? Michael Vardi of Valerann provides an insight into how data can easily be skewed - and what can be done to prevent it