homehome Home chatchat Notifications


How CCTV Cameras and AI Can Prevent Floods in Cities

Researchers have developed an AI system using CCTV cameras to monitor culverts, potentially reducing urban flooding by detecting blockages in real-time.

Mihai Andrei
November 19, 2024 @ 1:02 am

share Share

Culverts are essential yet often overlooked structures in our cities. These tunnels or pipes allow water to flow under roads, railways, or other infrastructure, playing a crucial role in water management. The UK alone is estimated to have over a million culverts. However, when these culverts become blocked by debris or trash, they can cause flooding. Monitoring them is a significant challenge, but new research suggests that AI, trained on CCTV data, could revolutionize this process.

CCTV image using AI to detect debris blocking a culvert
The ‘AI on The River’ software is trained to accurately detect debris blocking culvert trash screens. Credit: Journal of Flood Risk Management (2024). DOI: 10.1111/jfr3.13038

Water management has been a core challenge for cities since ancient times. Effective sewage systems were among the key innovations that enabled urban expansion. However, in modern times, urban areas face an increasing risk of flooding, especially as climate change intensifies storms and rainfall. Many cities are experiencing more frequent floods, leading to costly damage.

While this new research may not completely solve urban flooding, it addresses a specific issue: detecting culvert blockages.

Culvert entrances typically feature screens (usually a set of bars) that are meant to stop debris from passing through. Ironically, however, these screens often become clogged themselves. And if they do get clogged, they become a significant flood risk. Municipalities deal with this issue in two ways. Either they have teams regularly clean up these entrances or they clean them up when they receive a flood warning.

Both of these approaches have downsides. Having teams regularly clean culverts is safe but wastes a lot of resources when there’s no blockage, while reactive cleaning could be too late or even dangerous for the cleaning crew.

Rory Smith and colleagues from the University of Bath believe there’s a better way of doing things.

AI, meet culverts

They developed a method that uses CCTV cameras to monitor trash screens continuously. Using CCTV cameras and image-based classification, this system can determine whether a culvert is blocked or unblocked, allowing for quicker, more efficient responses and reducing the risk of urban flooding.

The study focused on the Tongwynlais screen in Cardiff, where a CCTV camera takes regular images each morning, and additional images when water levels rise. Initially, they started with 755 images and after quality control, reduced the dataset to 577 images. Around 80% of these images showed blocked screens while 20% showed unblocked screens.

Image of a culvert prone to blockage.
Depiction of a culvert prone to blockage (not from the study). Image via Wiki Commons.

Researchers explored three approaches for the data because with far more blocked images than unblocked ones, the model could become biased, leading to incorrect predictions. The approaches were:

  1. Using the original, imbalanced dataset — This model trained on all the images as they were.
  2. Undersampling — The number of blocked images was reduced to match the number of unblocked images, creating a more balanced dataset.
  3. Data augmentation — The number of unblocked images was artificially increased by adding noise to the images, thus expanding the dataset without requiring more real-world examples.

Of the three approaches, data augmentation performed the best, boosting the model’s accuracy by 8% and achieving an overall accuracy of 88%. This improvement highlights the potential of data augmentation as a solution for dealing with imbalanced datasets, a common issue in machine learning.

This approach can be scaled

While the study focused on a single trash screen in Cardiff, the implications are much broader. In the future, similar systems could be installed across entire cities, creating a real-time network for flood monitoring. However, several challenges need to be addressed before this vision can become a reality.

Each culvert is different, and the conditions affecting trash screens can vary widely. One solution could be to develop a database of pre-trained models for different types of culverts, allowing new installations to benefit from transfer learning — a process that adapts an existing model to a new location.

In the future, systems like these could form the backbone of an early warning network for urban flooding, providing real-time data to
authorities and helping them respond before disaster strikes. With continued research and development, this technology could revolutionize how we manage urban water infrastructure in the face of a changing climate.

Journal Reference: Rory Cornelius Smith et al, CCTV image‐based classification of blocked trash screens, Journal of Flood Risk Management (2024). DOI: 10.1111/jfr3.13038

share Share

This 5,500-year-old Kish tablet is the oldest written document

Beer, goats, and grains: here's what the oldest document reveals.

A Huge, Lazy Black Hole Is Redefining the Early Universe

Astronomers using the James Webb Space Telescope have discovered a massive, dormant black hole from just 800 million years after the Big Bang.

Did Columbus Bring Syphilis to Europe? Ancient DNA Suggests So

A new study pinpoints the origin of the STD to South America.

The Magnetic North Pole Has Shifted Again. Here’s Why It Matters

The magnetic North pole is now closer to Siberia than it is to Canada, and scientists aren't sure why.

For better or worse, machine learning is shaping biology research

Machine learning tools can increase the pace of biology research and open the door to new research questions, but the benefits don’t come without risks.

This Babylonian Student's 4,000-Year-Old Math Blunder Is Still Relatable Today

More than memorializing a math mistake, stone tablets show just how advanced the Babylonians were in their time.

Sixty Years Ago, We Nearly Wiped Out Bed Bugs. Then, They Started Changing

Driven to the brink of extinction, bed bugs adapted—and now pesticides are almost useless against them.

LG’s $60,000 Transparent TV Is So Luxe It’s Practically Invisible

This TV screen vanishes at the push of a button.

Couple Finds Giant Teeth in Backyard Belonging to 13,000-year-old Mastodon

A New York couple stumble upon an ancient mastodon fossil beneath their lawn.

Worms and Dogs Thrive in Chernobyl’s Radioactive Zone — and Scientists are Intrigued

In the Chernobyl Exclusion Zone, worms show no genetic damage despite living in highly radioactive soil, and free-ranging dogs persist despite contamination.