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

The perfect pub crawl: mathematicians solve most efficient way to visit all 81,998 bars in South Korea

This is the longest pub crawl ever solved by scientists.

This Film Shaped Like Shark Skin Makes Planes More Aerodynamic and Saves Billions in Fuel

Mimicking shark skin may help aviation shed fuel—and carbon

China Just Made the World's Fastest Transistor and It Is Not Made of Silicon

The new transistor runs 40% faster and uses less power.

Ice Age Humans in Ukraine Were Masterful Fire Benders, New Study Shows

Ice Age humans mastered fire with astonishing precision.

The "Bone Collector" Caterpillar Disguises Itself With the Bodies of Its Victims and Lives in Spider Webs

This insect doesn't play with its food. It just wears it.

University of Zurich Researchers Secretly Deployed AI Bots on Reddit in Unauthorized Study

The revelation has sparked outrage across the internet.

Giant Brain Study Took Seven Years to Test the Two Biggest Theories of Consciousness. Here's What Scientists Found

Both came up short but the search for human consciousness continues.

The Cybertruck is all tricks and no truck, a musky Tesla fail

Tesla’s baking sheet on wheels rides fast in the recall lane toward a dead end where dysfunctional men gather.

British archaeologists find ancient coin horde "wrapped like a pasty"

Archaeologists discover 11th-century coin hoard, shedding light on a turbulent era.

Astronauts May Soon Eat Fresh Fish Farmed on the Moon

Scientists hope Lunar Hatch will make fresh fish part of space missions' menus.