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

  • Two wheels good
    June 25, 2018
    As cycling becomes an increasingly popular method for commuting and recreation, what moves are afoot to keep the growing numbers of cyclists safe on ever-more-busy roads? Alan Dron puts on his helmet and pedals off to look. It would have seemed incredible just a decade ago, but cycling in London has become almost unfeasibly popular. The Transport for London (TfL) June 2017 Strategic Cycling Analysis document noted there were now 670,000 cycle trips a day in the UK capital, an increase of 130% since 2000.
  • Teledyne Flir: here’s how to find the right ITS camera
    January 4, 2022
    From lighting to weather, there are so many elements which need to be taken into account when choosing a camera for ITS operations. Riana Sartori from Teledyne Flir offers a buyer’s guide
  • Here to lead vehicle hazard warning pilot in Finland
    July 1, 2015
    Mapping and navigation specialist Here has been selected by Finnish traffic agencies Finnish Transport Agency (FTA) and Trafi, the Finnish Transport Safety Agency to lead a pilot project to enable vehicles to communicate safety hazards to others on the road. Here will also work with traffic information management service company Infotripla in implementing the project, which will be the first to implement a road hazard warning messaging system as described in the Intelligent Transportation Systems (ITS)
  • MIT study combines traffic data for smarter signal timings
    April 1, 2015
    Researchers at Massachusetts Institute of Technology (MIT) have found a method of combining vehicle-level data with less precise, but more comprehensive, city-level data on traffic patterns to produce better information than current systems provide. They claim this reduce delays, improve efficiency, and reduce emissions. The new findings are reported in a pair of papers by assistant professor of civil and environmental engineering Carolina Osorio and alumna Kanchana Nanduri, published in the journals Tra