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

  • Volvo’s new cars to get pedestrian and cyclist detection
    March 28, 2013
    By tracking moving objects, a new system from Volvo could help prevent accidents. The system uses a camera embedded in a car’s rear view mirror, combined with a radar instrument in the grill to scan the road ahead. If it sees an object, an onboard computer will determine whether it is a cyclist or a pedestrian, and prepare to apply the brakes if someone swerves out into traffic or darts across road. Many cars already come with safety systems that will brake if a collision with another vehicle or a pedestria
  • Novel Swedish approach to cell phone use while driving
    April 25, 2012
    Sweden’s National Road and Transport Research Institute (VTI) is publishing a new report showing ways to improve road safety. Of note is the fact that the report does not recommend a ban on mobile phone use while driving. Instead, VTI believes that a package measures can train and support drivers to manage communications more safety. According to VTI, this will be more effective than a ban on the use of cell phones at the wheel. VTI claims that more information will enable drivers to understand when it is d
  • Seleta Reynolds: 'Set a vision, listen to your people & then get out of their way'
    September 12, 2022
    Los Angeles, host of the 2022 ITS World Congress, is a city where the only constant is change, says Seleta Reynolds of LA Metro. Adam Hill finds out about leadership, dream jobs and the 2028 Olympics...
  • Esri maps cause and effect
    September 26, 2024
    The work of the Connecticut Transportation Safety Research Center means engineers can concentrate on developing more effective safety measures, rather than having to sort out raw crash data