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

  • Self-learning AI poised to disrupt automotive industry
    December 15, 2016
    Self-learning artificial intelligence (AI) in cars is the key to unlocking the capabilities of autonomous cars and enhancing value to end users through virtual assistance, according to Frost & Sullivan. It offers original equipment manufacturers (OEMs) fresh revenue streams through licensing, partnerships and new mobility services. Simultaneously, the use-case scenarios of self-learning AI in cars are drawing several technology companies, Internet of Things (IoT) companies and mobility service providers to
  • Tieto develops AI-IoT pedestrian recognition 
    February 13, 2020
    Tieto and the Finnish city of Tampere have launched a pedestrian recognition system which it claims can achieve up to 99% accuracy - and 75% at night.  
  • Space transport systems: a new frontier
    November 12, 2024
    What would transport systems look like in space settlements? And what can that tell us about transport now on Earth? Dimitrios Milakis, of the Institute of Transport Research, looks for answers in the stars
  • Smart Spanish city trials cell-based traffic management
    November 7, 2013
    David Crawford reports on an urban electronic nervous system. The northern Spanish city of Santander – historically a port - is now an emerging technology showcase attracting global attention as a prototype for a medium-sized smart city of the future. In a move to determine the optimal use of available data, it is creating a de-facto experimental laboratory for sensor and mobile phone-based urban traffic management and environmental monitoring innovations.