Abstract
Urban cleanliness is a critical factor for city attractiveness and resident satisfaction. Traditional manual audits are subjective and resource-intensive. This paper presents a fully automated computer vision system designed to quantify urban litter by localizing and classifying waste in street-level imagery. Utilizing a modified deep learning framework (OverFeat-GoogLeNet) and high-resolution cameras mounted on street sweepers, the system detects small objects like cigarette butts from a height of three meters. The resulting "cleanliness index" provides municipalities with an objective, scalable tool for resource allocation.
Introduction
Maintaining urban cleanliness is a significant challenge for major cities, impacting tourism and economic vitality. Currently, cities like Zurich rely on extensive manual audits—conducting thousands of human assessments annually. However, these methods are slow, expensive, and prone to human subjectivity. To implement a "continuous improvement" model, city authorities require an objective, automated measurement system.
The technical challenges are substantial: there is a lack of standardized datasets for "waste in the wild," and detecting tiny objects like cigarette butts against complex street backgrounds requires high-resolution processing that balances accuracy with computational efficiency.
Methodology
The proposed system employs an end-to-end pipeline based on a Deep Convolutional Neural Network (CNN). The architecture utilizes OverFeat-GoogLeNet, replacing the standard AlexNet backbone with GoogLeNet to enhance feature extraction capabilities.
Technical Implementation
- Localization via Regression: The network incorporates a regression layer to predict precise bounding box coordinates for detected waste, rather than simple image-level classification.
- Sliding Window Strategy: To process high-resolution 1920 × 1480 images on embedded hardware, the system uses a 640 × 480 sliding window with an overlapping factor. This preserves the resolution necessary for small object detection while managing GPU memory constraints. Furthermore, the authors ensured that the image resolution was sufficient for the smallest waste items to contain at least as many pixels as the network's minimum bounding box size.
- Multi-Class Classification: The final layer is configured to output 25 distinct waste categories. A key insight was treating "single leaves" and "piles of leaves" as separate classes, which improved accuracy by accounting for the distinct textures of waste clusters.
Data Collection
As no public dataset for street litter was available, the researchers developed a custom dataset in Geneva, Switzerland.
A 4K camera was mounted on a metallic arm atop a street sweeper. The team collected 18,676 raw images, from which 469 full-size images were manually annotated. This resulted in 4,338 sub-images used for training. While 25 categories were defined, leaves and cigarette butts were the most prevalent items during the acquisition period. The system was designed to operate at vehicle speeds of 12 km/h, processing 2 frames per second to ensure a 15% overlap between frames.
Results and Discussion
The system was validated on a test set containing 69 cigarettes and 958 leaves.
- Cigarette Butts: Achieved 63.2% precision and 61.02% recall. This is considered a strong baseline given the difficulty of detecting such small objects from a 3-meter distance.
- Leaves: Achieved 77.35% precision and 60% recall.
- Efficiency: The system processed high-resolution imagery at 2 frames per second on an Nvidia K40 GPU, demonstrating potential for real-time urban monitoring.
Conclusion and Future Work
The primary limitation of the current study is data scarcity for rare waste categories like bottles and cans. Future efforts will focus on expanding the dataset to improve multi-class performance. The ultimate goal is the generation of "cleanliness density maps" to help municipalities optimize resource allocation and maintain cleaner urban environments.
Summary updated