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

  • Aimsun unveils test platform for AVs in digital cities
    May 24, 2019
    Aimsun has released a software platform for the large-scale design and validation of path planning algorithms for autonomous vehicles (AV). The company says Aimsun Auto allows test vehicles to drive inside digital cities - virtual copies of transportation networks, where users can safely explore the limits of AV technology. Paolo Rinelli, global head of product management at Aimsun, says Auto removes the need to drive around seeking conditions that users want to test or to “script each actor’s behaviour
  • CCTV brings transit safety into view
    September 15, 2014
    David Crawford looks at camera-based vulnerable road users protection systems.Safe and efficient operation of road-based transit depends on minimising the risks of incidents involving other vehicles or vulnerable road users such as pedestrians, cyclists and passengers boarding or alighting from buses or trams. The extent and quality of the visibility available to drivers is crucial in preventing and avoiding incidents. Conventionally, they have had to rely on fairly basic equipment - essentially the human
  • Umovity's Christian Haas: AI in ITS is 'evolving at speed'
    September 17, 2024
    The intersections between AI and ITS will shape the future of the industry. Christian U. Haas, CEO of Umovity, outlines some challenges – and looks forward to the opportunities
  • Distraction danger rises with in-car tech, says TRL
    April 2, 2020
    The increasing sophistication of in-car technology is creating new dangers in terms of driver distraction, a new study finds.