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

  • Why keeping count is so important for traffic management
    November 21, 2023
    Traffic engineers need to have multiple solutions in their toolbox to complete the most accurate and safe data collection programmes possible, explains Wes Guckert of The Traffic Group
  • Future of US cooperative infrastructure networks
    July 31, 2012
    Peter H. Appel, the new Administrator of the USDOT's Research and Innovative Technology Administration, on his vision of the US's future cooperative infrastructure networks. Peter H. Appel comes to the post of Administrator of the US Department of Transportation's Research and Innovative Technology Administration (RITA) from a background in transportation-related work which stretches back over 20 years. Most recently with management consultancy A. T. Kearney, Inc., where he focused on busin
  • US DoT launches largest-ever road test of connected vehicle crash avoidance technology
    August 22, 2012
    Nearly 3,000 cars, trucks and buses equipped with connected Wi-Fi technology to enable vehicles and infrastructure to ‘talk’ to each other in real time to help avoid crashes and improve traffic flow, began traversing Ann Arbor's streets yesterday as part of a year-long safety pilot project by the US Department of Transportation. Ray LaHood, US Transportation Secretary, joined elected officials and industry and community leaders on the University of Michigan campus to launch the second phase of the Safety Pi
  • The importance of going with the flow
    April 6, 2018
    Ensuring worker safety and up-to-date driver information is crucial to ensure that roadworks are not a source of danger and delay. Andrew Williams looks at a scheme on the A14 in Cambridgeshire, UK. In recent years, portable workzone ITS solutions have emerged as important tools in the management of major roadworks and system upgrade projects - and are viewed as an increasingly vital means of ensuring any ongoing traffic flow disruption is kept to a minimum. The technology forms a central component of an