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 26, 2020
    Masks and AI: the new mobility reality
    French authorities are using artificial intelligence to track face covering compliance
  • December 4, 2012
    Public transport operators implement passenger safety systems
    Operators of public transport systems are arming themselves with sophisticated systems of technology to ward off terrorism threats to passenger safety. David Crawford reports. City transportation authorities worldwide are looking more keenly than ever for mass transit solutions to overcome traffic congestion and manage commuter flows. As they do so, concerns over passenger security are driving development of new technologies for terrorist incident detection, response and emergency passenger evacuation. The
  • October 27, 2020
    Heading the right way with Caltrans
    Wrong-way collisions are relatively rare – but they are often head-on and fatal. After recent studies, California DoT is reviewing its highway design standards
  • January 25, 2018
    Manchester seeks smart but not selective transport solutions
    Smarter transport relies on better communications both with travellers and between transport providers. Andrew Williams reports. Inrix’s prediction that the cost of traffic congestion will rise by 63% to £21bn per year by 2030 clearly illustrates that, in addition to the ongoing inconvenience and inefficiency, ongoing gridlock is a significant drain on the economy. It is against this backdrop that a Cisco-led consortium has launched CitySpire, a smart transport programme that uses location-based services a