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

  • Low-costs solutions to improve pedestrian safety
    May 8, 2015
    David Crawford welcomes low-cost safety initiatives for pedestrians in America. Some 10 people die each week in accidents on crosswalks in the US, that’s more than 10% of all pedestrian fatalities in road traffic incidents - the number of which is running at a five-year high. Ensuring crosswalks are safe is key in supporting the growing enthusiasm for walking as a travel mode. In the last decade of the 20th century, numbers walking to work in the US fell by 26%; while, as recently as 2012, Americans were e
  • Here and Mitsubishi unveil road hazard alert system
    May 22, 2019
    Here Technologies has piloted a system with Mitsubishi Electric which it claims can enable vehicles to automatically warn others about upcoming road hazards with lane-level precision Here says the Lane Hazard Warning platform enables an event detected by a vehicle’s sensors – such as a slow car or pothole – to be localised to a specific lane. This information can then be transmitted in real time via the cloud to other vehicles approaching the same area, the company adds. Hiroshi Onishi, executive office
  • Automated enforcement tames speeders in Chicago’s Children’s Safety Zones
    November 20, 2013
    Chicago is installing automated enforcement after pilot schemes indicated that one in 10 motorists exceed the speed limits in Children’s Safety Zones. Each year in Chicago there are around 3,000 incidents of pedestrians being struck by a motor vehicle - and about 800 of those casualties are children. In an effort to improve child safety the Chicago Department of Transportation (CDOT) has established Children’s Safety Zones around schools and other areas where children congregate. These zones allow the impos
  • Signal prioritisation as silver bullet
    January 13, 2023
    We can’t keep building roads to solve congestion. But help is available: transit signal prioritisation can easily reduce traffic and bring back riders to mass transit, says Bobby Lee of Lyt