|
|
| RF-DETR detection of Satellite Ground Stations from aerial imagery | RF-DETR detection of Nuclear Reactor infrastructure from aerial imagery |
All detections shown above were generated using the fine-tuned RF-DETR model developed in this project.
This project explores aerial and drone-based detection of critical infrastructure using RF-DETR (Roboflow Detection Transformer).
The objective was to build a robust object detection system capable of identifying multiple infrastructure categories from high-altitude imagery while addressing one of the biggest challenges in computer vision projects:
Data Scarcity
Rather than focusing solely on model architecture, this project follows a data-centric workflow, emphasizing:
β Dataset Creation β Annotation Quality Control β Synthetic Data Generation β Error Analysis β Iterative Retraining β Class-Specific Optimization
The model was trained to detect 19 infrastructure categories:
| Infrastructure | Infrastructure |
|---|---|
| Airport Runway | Oil Refinery |
| Bridge | Satellite Dish / Ground Station |
| Cargo Ship | Seaport |
| Cooling Tower | Shipping Containers |
| Dam | Solar Power Plant |
| Electrical Substation | Thermal Power Plant |
| Energy Storage Infrastructure | Transmission Tower |
| Mobile Tower | Water Tower |
| Nuclear Reactor | Wind Turbine |
| Mobile Harbour Cranes |
The dataset was created using a combination of:
- Real aerial imagery
- Satellite imagery
- Synthetic imagery
ββββββββββββββββββββββββ
β Real Aerial Imagery β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β Synthetic Imagery β
β (Nano Banana Pro, β
β Seedream 4) β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β Manual QA & Review β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β Label Studio β
β Annotation β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β COCO Dataset Export β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β RF-DETR Training β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β Evaluation & β
β Error Analysis β
ββββββββββββββββββββββββ
To address limited availability of infrastructure imagery from rare aerial viewpoints, synthetic samples were generated using:
- Nano Banana Pro
- Seedream 4
- ChatGPT-assisted prompt engineering
Synthetic data was used to create:
- Oblique drone perspectives
- Complex environmental conditions
- Low-light scenarios
- Rare infrastructure viewpoints
- Additional examples for underrepresented classes
All images underwent manual review before training.
β Removal of unrealistic synthetic outputs β Visual inspection for generation artifacts β Annotation consistency checks β Duplicate image filtering β Class balance verification β Manual edge-case review
The goal was to maximize annotation quality before model training rather than relying solely on augmentation techniques.
Label Studio
COCO JSON
- Manual bounding-box annotation
- Class-level verification
- Edge-case review
- Annotation consistency validation
| Category A | Category B |
|---|---|
| Thermal Power Plant | Nuclear Reactor |
| Cargo Ship | Mobile Harbour Cranes |
| Shipping Containers | Airport Runway Structures |
| Electrical Substation | Energy Storage Infrastructure |
These categories received additional review due to visual similarity and contextual overlap.
RF-DETR was selected because transformer-based detectors can leverage broader contextual information across aerial scenes.
This is particularly useful when distinguishing visually similar infrastructure categories where surrounding environmental context contributes to classification accuracy.
- Google Colab
- PyTorch
- RF-DETR
- CUDA GPU Acceleration
β Transfer Learning β Multi-Stage Fine-Tuning β Early Stopping β EMA Evaluation β Targeted Retraining of Weak Classes
| Metric | Value |
|---|---|
| Best mAP50-95 | 0.531 |
| Best Model | EMA Checkpoint |
| Early Stopping | Enabled |
The final model demonstrated strong performance on visually distinctive infrastructure classes while highlighting several challenging categories that remain active areas of improvement.
| Category |
|---|
| Oil Refinery |
| Water Tower |
| Satellite Dish / Ground Station |
| Mobile Tower |
| Transmission Tower |
| Category |
|---|
| Shipping Containers |
| Electrical Substations |
| Solar Power Plants |
| Dams |
Common challenges include:
- Small object size
- Dense object clustering
- High visual similarity
- Scale variation across aerial viewpoints
A major outcome of this project was confirming that:
Dataset quality, annotation consistency, and targeted data collection produced larger gains than additional training epochs alone.
Performance improvements were primarily achieved through:
- Additional class-specific data collection
- Synthetic data augmentation
- Error analysis
- Annotation refinement
- Focused retraining of underperforming classes
This reinforced the importance of a data-centric AI workflow over purely model-centric optimization.
Critical-Infrastructure-Detection-using-RF-DETR/
βββ assets/
βββ dataset_info/
βββ notebooks/
βββ weights/
βββ README.md
βββ requirements.txt
βββ LICENSE
π Google Colab
https://colab.research.google.com/drive/167xgsFcpFqzVfAbT88IFdUYeM_X0h1um
Available through the repository Releases section.
Planned improvements include:
- Hard-negative mining
- Expansion of Shipping Container samples
- Improved Substation annotation consistency
- Video-based infrastructure tracking
- Integration with segmentation pipelines
- Multi-object tracking support
Computer Vision Practitioner | Data Annotation Specialist
π§ Open to collaboration on:
- Computer Vision
- Object Detection
- Dataset Development
- Annotation Workflows
- Synthetic Data Generation
GitHub https://github.com/sayanc227
LinkedIn https://www.linkedin.com/in/sayan-chakraborty-595a45382

