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

  • Denso launches vision sensor for improved night driving safety
    January 31, 2018
    Japan-based Denso has developed a new standard vision sensor that aims to detect pedestrians at night, cyclists, road signs, driving lanes and other road users. It works with a millimetre-wave radar sensor, enabling automobiles to activate emergency braking when obstacles are identified to help reduce accidents and improve safety.
  • Software is at heart of safe vehicle connectivity, says Qt Group
    September 15, 2023
    Connected vehicle safety isn’t just under threat from malicious actors exploiting code – it’s also about avoiding software faults that could result in harm to people, says Patrick Shelly of Qt Group
  • Inrix: micromobility could replace half of US metro car trips
    September 16, 2019
    Nearly 50% of all car trips in the most congested US metropolitan areas are less than three miles and could be replaced by micromobility services, says Inrix. The company analysed data points from connected devices to rank the top US, UK and German cities where micromobility services (shared bikes, electric bikes and electric scooters) could have the most significant impact on replacing vehicle trips. Findings from the National Association of City Transportation Officials estimated that scooters are
  • Viaduct deck renewal creates detour dilemma for MassDOT
    May 26, 2016
    As the deck renewal of the I-91 viaduct in Springfield gets underway, David Crawford looks at the preparation and planning to ease the resulting traffic congestion. Accommodating the deck renewal of a 4km-long/four-lanes in each direction viaduct in the heart of Springfield (Massachusetts’ third largest city), has involved the state’s Department of Transportation (MassDOT) in a massive exercise in transport research and ITS-based area-wide preplanning and traffic management. Supporting a workzone of well ab