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

  • SwRI uses AI on Tennessee integrated corridor
    April 22, 2021
    SwRI is developing machine learning algorithms to help coordinate traffic management
  • Xerox demonstrates effectiveness of vehicle passenger detection system
    October 8, 2015
    Xerox recently piloted its vehicle passenger detection system in Europe on the busy French-Swiss border, to demonstrate how an accurate automated system would enable transport authorities to operate high occupancy vehicle (HOV) lanes and encourage commuters to adopt carpooling. The pilot, conducted in conjunction with the French Centre for Studies and Expertise on Risks, Environment, Mobility, and Urban and Country planning (Cerema) and the Regional Directorate for the Environment, Planning and Housing (
  • Networked cars ‘make traffic safer and more efficient’
    June 21, 2013
    One of the largest field tests ever conducted on Car-to-X communication has shown that information exchange between vehicles and infrastructure make traffic safer and more efficient. simTD (Safe Intelligent Mobility – Test Field Germany), a joint project by leading German automotive manufacturers, component suppliers, telecommunication companies, research institutions and public authorities recently carried out tests on the simTD technology using 500 test drivers in moving traffic. Scientists at the Technis
  • Iteris unveils AI detection solution
    November 23, 2021
    Vantage Apex combines combines FHD video, radar and AI in hybrid traffic solution