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

  • Walk | Don’t Walk – actually, just Don’t Walk
    March 17, 2025
    In 1925 a traffic ordinance was introduced in Los Angeles. The 100-year anniversary is significant because, transportation historian Peter Norton suggests, the law in effect set the blueprint for car-dependency across the US. Adam Hill asks him how…
  • Asecap Days 2023: Data drives the best decisions
    December 22, 2023
    Almost all the data being collected by highway operators is going to waste. But if firms collect and analyse these ‘vast lakes of data’ they can investigate threats, monitor management systems and drive up revenues, delegates were told at Asecap Days 2023. Geoff Hadwick reports
  • Australia’s largest intelligent vehicle trial to be held in Queensland
    November 25, 2016
    Queensland is preparing for driverless and connected vehicles with ambitious plans underway for a four-year on-road testing trial in Australia as part of the Cooperative and Automated Vehicle Initiative (CAVI) to ensure the State is ready for the future. The government has chosen the urban area of Ipswich as the site of the large-scale test-bed to trial vehicles and infrastructure that can talk to one another as well as to test cooperative and highly-automated vehicles. Around 500 motorists will be recru
  • Motorbike safety can be measured objectively, says AIT
    August 30, 2018
    The Austrian Institute of Technology (AIT) and TU Wien (Vienna University of Technology) has developed a motorcycle probe vehicle to better understand the causes of motorbike accidents. The vehicle was deployed as a measurement method to evaluate popular motorcycle routes in Austria’s capital. Peter Saleh, road safety expert at the AIT Center for Mobility Systems, says: “Our aim is to give those who operate roads the precise information they need in order to reduce the danger in these areas efficiently,