/

Road passability and building vulnerability are critical unknowns in disaster response, typically unavailable when logistics decisions must be made. Omdena partnered with a humanitarian mapping organization to build a road surface classifier and a rooftop material segmenter from field and aerial imagery. The project delivered a Swin Transformer with 99.27% accuracy for road classification and two segmentation models for five rooftop material classes, both open source.
| Outcome | Detail |
| Road classification accuracy | 99.27% — Swin Transformer on paved vs. unpaved road imagery |
| Inference speed | ~0.12 seconds per image, enabling batch processing of large field imagery volumes |
| Training dataset | 1,202 images — Kenya + India; balanced 49% paved / 51% unpaved across diverse seasonal and terrain conditions |
| Rooftop segmentation | 5 classes — UNetCA: Mean IoU 0.9213, Mean Dice 0.9485 | SegFormer-B3: Mean IoU 0.9126, Mean Dice 0.9511 |
| Models evaluated | 3 road architectures (EfficientNet-B0, MobileNetV2, Swin Transformer); 2 rooftop (UNetCA, SegFormer-B3) |
| Deployment | Unified YAML-configurable launcher; weights publicly hosted; local and cloud inference supported |
When a cyclone or flood strikes, humanitarian logistics teams need to know not what to send but where vehicles can go. Road condition data in disaster-affected areas is frequently outdated or absent in usable formats. Acting on inaccurate passability assumptions wastes time and can leave communities cut off from essential supplies.
Rooftop materials signal building vulnerability to flooding and wind damage, but getting that information requires new satellite imagery or survey teams — neither is possible in the first hours after a disaster. Existing AI tools also broke down outside the regions where they were trained, and road and building analysis ran as separate systems that field teams had to combine manually.
Omdena partnered with a humanitarian mapping organization to build AI tools for road condition and rooftop material analysis. Three field requirements guided the work: outputs loadable into standard mapping tools, reliable performance on low-quality imagery, and a setup simple enough for organizations with no dedicated AI team.
The build ran across three phases: road surface classification, rooftop segmentation, and unified pipeline deployment. Each required its own data preparation, model selection, and evaluation before integration into a single deployable system.

The road classification pipeline used a 1,202-image dataset combining 759 Kenyan images sourced via the Mapillary API with 443 from India, covering rain, dry-season, and varied terrain including waterlogged roads and vegetation-obstructed surfaces. Three architectures were tested (EfficientNet-B0, MobileNetV2, and the Swin Transformer), with the Swin Transformer selected for its ability to capture image detail across multiple scales.
Fine-tuned over 10 training rounds using PyTorch and Hugging Face Transformers on an NVIDIA RTX 3050, the Swin Transformer reached 99.27% accuracy on the test set with approximately 0.12 seconds per image, making it practical for batch processing large field imagery volumes in post-disaster mapping workflows.
Aerial imagery from the Ghana RIA project was labeled across five classes (background, zinc, tiles, wood, and plastic) and resized to 256×256 pixels, with all preprocessing built into the pipeline. Two architectures were compared: UNetCA, which integrates channel attention to enhance spatial awareness in feature maps, and SegFormer-B3, pre-trained on ADE20K and suited to densely built areas with overlapping structures.
UNetCA produced a stronger Mean IoU of 0.9213; SegFormer-B3 achieved a higher Mean Dice of 0.9511. Both were delivered, giving practitioners a concrete choice based on whether region accuracy or boundary overlap is the operational priority.

A YAML-configurable launcher serves inference for both pipelines through a single command. Users specify the model, mode, and settings file with no code changes required to switch between architectures or regions. Weights, logs, and outputs are saved automatically, supporting full reproducibility on local and cloud environments.
Street-level imagery already held by field teams can be assessed for road passability at 0.12 seconds per image, removing the dependency on field access that previously delayed logistics planning after a disaster.
Rooftop material classification from existing aerial imagery gives planners shelter vulnerability data without commissioning new surveys. Buildings with zinc or wood roofing indicate different risk levels than tile construction, a distinction that directly informs shelter prioritization.
The unified launcher removed the step that previously forced specialists to combine results from separate tools by hand. A single command now returns both road and rooftop assessments, and extending to a new region or imagery type requires only a settings file change.
The initial road dataset worked on Kenyan imagery and failed elsewhere. Adding Indian imagery with rain, dry-season, and varied terrain improved cross-region accuracy more than adding more images from the same location would have, making breadth of training data more valuable than adding more of the same.
Neither UNetCA nor SegFormer-B3 dominated every metric: SegFormer achieved a higher Dice score while UNetCA produced stronger mean IoU. Delivering both gave practitioners a real choice based on operational priority — boundary accuracy or region overlap — rather than a single prescribed answer.
A settings-driven launcher built early let the team swap models, adjust data settings, and test ideas without rewriting code. For a tool supporting multiple models, regions, and use cases over time, that configurability is what makes it practical to maintain and extend.
The road surface classifier was validated across geographically diverse Kenyan and Indian imagery, reaching 99.27% accuracy and 0.12 seconds per image. That combination of precision and speed means the tool performs under post-disaster logistics constraints, not only in controlled evaluations.
UNetCA’s stronger mean IoU serves tasks where boundary precision matters; SegFormer-B3’s higher Dice coefficient suits region-level classification. Delivering both gave practitioners a decision based on field priority rather than a single prescribed answer.
Before this system, getting road and rooftop results together meant running separate tools and combining outputs by hand. A single launcher command now runs both models at once, removing a step that cost time at exactly the moment humanitarian teams can least afford delay.
Omdena partnered with a humanitarian mapping organization to build AI tools for road surface classification and rooftop segmentation from street-level and aerial imagery. Deliverables include a Swin Transformer road classifier at 99.27% accuracy, two rooftop segmentation models across five material classes, and a unified YAML-configurable inference pipeline, all fully open-source.