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

  • NSW university launches high-tech safety study
    April 16, 2013
    Road experts led by Australia’s University of New South Wales (NSW) professor Mike Regan are to conduct what is said to be the most thorough traffic safety study in Australian history. Cameras inside and outside cars will film 400 volunteers in Victoria and New South Wales in an effort to analyse the cause of crashes and change driver education and road safety campaigns. The cameras will record how drivers behaved and reacted in ''real world'' situations. John Wall, manager of road safety technology with N
  • Jenoptik uses sensor fusion to avoid monitoring confusion
    January 26, 2018
    Jenoptik’s Uwe Urban looks at the advantages of ‘sensor fusion’ for the ITS sector. When considering the ideal sensing and monitoring system to enable the ITS sector to deliver improvements in mobility and road safety, for general policing security and border protection, we have to think beyond radar-base systems or laser scanners. What is needed today are solutions for detecting and tracking vehicles while recording evidence to deacide if any action is necessary. There is no sole sensor capable of
  • Hikvision passes history exam
    October 13, 2020
    Hikvision technology is being used in the ancient walled city of Xi’an, historical seat of the Tang Dynasty, to boost traffic flow – and it seems to be helping in China’s new high-tech hub
  • Weigh in Motion gets smarter
    January 4, 2023
    Weigh in Motion technology is at the forefront of protecting road surfaces and helping enforcement activity – but could it also play a key role in the development of Smart Cities?