CoolFace
Apppublic

vskr1014/route-resilience

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

RouteResilience AI

A road-network resilience dashboard: upload a satellite image, segment roads with a Unet++/ResNet34 model, build a graph from the result, and analyze its resilience (AURI score, critical intersections, failure simulation, and infrastructure recommendations).

Visit the root URL of this Space to use the dashboard directly.

API

This Space runs a FastAPI backend. Interactive API docs are available at /docs once the Space is running.

Key endpoints:

  • —POST /api/segment — upload an image, get a road mask + graph
  • —GET /api/auri — Adaptive Urban Resilience Index for the current graph
  • —GET /api/critical_nodes — most structurally important intersections
  • —POST /api/simulate — simulate removing a node from the graph
  • —GET /api/recommend — suggested new road link to improve resilience