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

  • The real case for driverless mobility
    May 13, 2024
    What will automated driving really be good for? Bern Grush of Urban Robotics Foundation offers his thoughts on the big issues around its implementation - and suggests a newly-published book might point the way forward
  • Distracted driving on the up: US report
    April 14, 2022
    Risky behaviour such as checking phones while behind the wheel has risen markedly
  • ASECAP cautiously welcomes EU agreement on VRU safety
    March 4, 2019
    Tolling organisation ASECAP has welcomed a European agreement which would force governments to take ‘systematic account’ of vulnerable road users (VRUs). But it warns that the industry must guard against any unintended consequences of the provisional agreement between the European Council and European Parliament, which is designed to strengthen road infrastructure management in a bid to reduce fatalities and serious injuries. The wording has yet to be endorsed by the Council and the relevant European Par
  • Solar studs a cost-effective alternative to street lighting?
    July 30, 2012
    Road traffic accidents have an enormous impact on society in terms of human loss, pain and suffering and a significant cost to the economy, the individual and their families. Accident rates on South Africa's roads are among the highest in the world and cost the country in the region of $163 million each year. The former head of the Department of Transport (DoT), Dr Kwazi Mbanjwa, described the situation as "carnage on our roads", with over 500,000 accidents and 10,000 fatalities per annum and the number of