An AIoT Solution for Visual Blockage Detection at Culverts

One of the key contributors in originating flash floods is the blockage of cross-drainage hydraulic structures, such as culverts, by unwanted…

Umair Iqbal
9 min readintermediate
--
View Original

Overview

The article discusses an AIoT solution for visual blockage detection at culverts, emphasizing the importance of addressing culvert blockages to prevent flooding. It details the development of a computer vision model trained on a diverse dataset, including real, simulated, and synthetic images, and describes the implementation of an edge computing system for real-time monitoring.

What You'll Learn

1

How to develop a computer vision model for culvert blockage detection

2

Why using synthetic images can enhance training datasets for AI models

3

How to implement an AIoT solution for real-time monitoring of infrastructure

Prerequisites & Requirements

  • Understanding of computer vision and AI/ML concepts
  • Familiarity with NVIDIA TAO Toolkit and edge computing technologies(optional)

Key Questions Answered

What is the StopBlock initiative and its purpose?
The StopBlock initiative is a collaborative project aimed at monitoring visual blockage at culverts in real time using AI, computer vision, and IoT technologies. It involves partnerships between city councils and academic institutions to improve flood management by detecting blockage statuses at culverts.
How are synthetic images used in training computer vision models for culvert blockage detection?
Synthetic images are generated using a 3D application based on the Unity gaming engine to create diverse scenarios of culvert blockage. This approach enhances the training dataset, allowing the model to learn from a wider range of blockage situations that may not be captured in real-world images.
What technologies are used in the AIoT solution for culvert monitoring?
The AIoT solution employs a CCTV camera for image capture, NVIDIA Jetson TX2 for processing, and 4G connectivity for data transmission. This setup allows for real-time monitoring and classification of culvert blockage statuses, aiding flood management efforts.
What are the performance metrics achieved by the detection and classification models?
The culvert opening detection model achieved a validation mean Average Precision (mAP) of 0.90, while the blockage classification model reached a validation accuracy of 0.88. These metrics indicate the effectiveness of the models in accurately detecting and classifying culvert conditions.

Key Statistics & Figures

Total images in ICOB dataset
929
This dataset includes images of culverts showing various blockage conditions.
Total images in VHD dataset
1,630
These images were collected from scaled laboratory experiments to optimize the visual dataset.
Detection model validation mAP
0.90
This metric indicates the accuracy of the culvert opening detection model.
Classification model validation accuracy
0.88
This accuracy reflects the performance of the blockage classification model.
Average power consumption of AIoT hardware
9.1W
This low power consumption is achieved while powered by a solar panel.
Frames per second (FPS) achieved by the DeepStream pipeline
24.8
This performance metric indicates the efficiency of the video analytics pipeline on the Jetson TX2.

Technologies & Tools

Edge Computing
Nvidia Jetson Tx2
Used for processing and inferring blockage images using trained computer vision models.
Computer Vision Model
Yolov4
Utilized for detecting culvert openings in images.
Computer Vision Model
Resnet-50
Employed for classifying the visual blockage status of culverts.
AI/ML Tools
Nvidia Tao Toolkit
Used for training the computer vision models.
Video Analytics
Deepstream SDK
Facilitates real-time inference and analytics on the Jetson TX2.
3d Modeling
Unity
Used to generate synthetic images for training datasets.

Key Actionable Insights

1
Implementing an AIoT solution for infrastructure monitoring can significantly enhance flood management efforts.
By utilizing real-time data from AI-driven monitoring systems, municipalities can proactively address potential blockages, reducing the risk of flooding and associated damages.
2
Leveraging synthetic data can fill gaps in training datasets, especially in unique scenarios like culvert blockage.
This approach allows developers to create diverse training examples that improve model robustness, particularly when real-world data is scarce or difficult to obtain.
3
Collaborative initiatives like StopBlock can foster innovation in urban infrastructure management.
Partnerships between local governments and academic institutions can lead to the development of cutting-edge solutions that address pressing environmental challenges.

Common Pitfalls

1
Relying solely on real-world data for training computer vision models can lead to insufficient coverage of potential scenarios.
This limitation can result in models that perform poorly in real-world applications. To mitigate this, it's essential to augment training datasets with synthetic data that simulates various conditions.

Related Concepts

Computer Vision In Infrastructure Monitoring
Aiot Applications In Urban Management
Synthetic Data Generation For AI Training
Real-time Data Analytics For Flood Management