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

  • Gearing up for the global electric vehicle revolution
    May 3, 2019
    As transport, communications and energy networks become inextricably linked, policy makers are recognising the implications for our built environment – and the growing electric vehicle market will have a major impact on the world’s infrastructure, says Rolton Group’s Chris Evans
  • IAM RoadSmart: Auto emergency breaking could save hundreds of lives
    September 28, 2017
    Private and fleet car buyers could save hundreds of lives a year by insisting the cars they purchase are fitted with auto emergency braking (AEB), according to UK motoring organisation IAM RoadSmart and coalition partners. The coalition, which comprises car and road design experts, said AEB systems (which automatically apply the vehicle’s brakes if pedestrians, cyclists or other vehicles are detected ahead) could save 1, 100 lives and 122, 860 causalities over the next ten years. In addition, the insuran
  • Selecting the right camera for safety or security
    January 30, 2012
    Machine vision systems offer great variety of function and performance. Teledyne DALSA product manager Manuel Romero describes 10 key criteria to aid selection of advanced camera technology for safety or security applications. There are many ways in which machine vision systems can enhance safety and security in transportation, but the ultimate results will only be as good as the image produced. Success relies on correct selection of the camera of such systems, as the features and performance required vary
  • Data fusion with Valerann’s Lanternn
    March 4, 2022
    Valerann will be highlighting its recently launched Lanternn by Valerann, an innovative intelligent traffic management solution.