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

  • Technology targets Red-X transgressors
    February 25, 2016
    Currently deployed technology is being used to detect motorists ignoring the ‘red-X’ signs that indicate the lane is closed, as Colin Sowman hears. With an increasing network of ‘Smart Motorways’ - all-lane running or the opening of hard shoulders during times of congestion - Highways England (HE) has identified a growing problem with ‘red-X’ compliance. The ‘red-X’ sign signifies a closed lane or lanes and used to provide a safer area for stranded motorists, emergency workers or road maintenance crews and
  • What are AVs doing in rural Ohio?
    March 29, 2023
    Autonomous vehicle pilots so far have been typically sighted in urban areas. But researchers in rural regions of Ohio are now trying to find out exactly what benefits they could bring to the countryside
  • Vision technology lifts blinkers from tunnel vision
    December 6, 2017
    Sony’s Jerome Avenel looks at how advances in imaging technology are helping improve safety. On the 24th March 1999, a Belgian truck transporting flour and margarine through the 11.6km Mont Blanc tunnel caught alight when a cigarette stub entered the engine induction snorkel, lighting the paper air filter. The fire left over 30 dead and many more injured. At the time, the Mont Blanc tunnel disaster was the world’s worst tunnel fire.
  • Debating the future of in-vehicle systems
    December 6, 2012
    Industry experts talk to Jason Barnes about the legislative situation of current and future in-vehicle systems. Articles about technology development can have a tendency to reference Moore’s Law with almost indecent regularity and haste but the fact remains that despite predictions of slow-down or plateauing, the pace remains unrelenting. That juxtaposes with a common tendency within the ITS industry: to concentrate on the technology and assume that much else – legislation, business cases and so on – will m