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

  • Australia launches self-driving vehicle pilot
    October 6, 2016
    The Victorian Government in Australia has partnered with Bosch, the Transport Accident Commission and VicRoads to build the first vehicle developed in Australia with self-driving capabilities. The US$900,000 (AU$1.2 million) investment has helped Bosch develop the self-driving vehicle, which has been designed to navigate roads with or without driver input and includes technology such as inbuilt sensors and cameras to detect and avoid hazards such as pedestrians, cyclists and other vehicles. Trials of
  • Hikvision adds AI to DeepinView cameras
    July 22, 2020

    Hikvision has added to its DeepinView camera line with what it calls the Dedicated subseries.

    The company says this loads a batch of artificial intelligence-powered deep learning algorithms into each unit, which are of use in two distinct categories.

    The first is vehicle analysis, where cameras combine automatic number plate recognition with vehicle attribute recognition - including make, colour and direction of movement. 

    Typical installations would be on city streets and at the entrances of car parks and buildings.  

  • The smart in smart parking
    March 29, 2018
    Whether you want to reduce congestion, increase parking revenue or reduce occupancy – or a mixture of all three – there is plenty of technology available. Andrew Bardin Williams considers the pros and cons. Drawn in by the promise of Smart City initiatives, communities across North America are embracing smart parking solutions in an effort to change citizens’ transportation behaviours for the better. They are doing this by using policy and ITS solutions to help de-incentivise parking for most people while
  • Redflex deal moves it into AI territory 
    November 27, 2020
    Acquisition of RoadMetric is to add video detection and data analytics to firm's solutions