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

  • Growth of telematics-based pay as you drive car insurance systems
    July 17, 2012
    Car insurance made cheaper by telematics has returned to news headlines in the UK this year. Will it really take off this time and can vehicle tracking provide an effective tool for enforcing or encouraging insurance compliance? Jon Masters reports Will 2012 go down as the year that telematics-based car insurance took off? In the UK at least, a groundswell of new policies, with premiums priced on the basis of tracked and analysed driving style, suggests a turning point has been reached. Some would argue t
  • IAM RoadSmart calls for joined up thinking on road safety
    October 12, 2016
    Action is needed from across government departments to reverse the trend of flat-lining road deaths, according to new research from UK road safety charity IAM RoadSmart, which says reducing these deaths would in turn offer a large saving to the public purse. The new report, Evaluating the costs of incidents from the public sector perspective, is the first attempt to update the formula for death and injury cost figures since the 1990s. It is also the first time anyone has highlighted the costs to the publ
  • Citilog’s AID tackles threat of weather-related crashes
    April 16, 2024
    As many as 30% of road crashes across Europe are weather related, underscoring the challenges faced by traffic operators and drivers alike.
  • Is the smartphone a driver's best friend?
    May 27, 2014
    The smartphone is a driver’s best friend – or so it seems: apps help them navigate, avoid congestion, identify a parking space, locate an EV charge point, find the area’s cheapest fuel, check the weather, pay tolls … the list goes on. While some have voice actuation, the whole issue of driver-related apps still concerns me. The World Health Organisation / National Highway Traffic Safety Administration (NHSA) report Mobile Phone Use: A Growing Problem of Driver Distraction says: ‘…studies suggest that driver