Algorithm Development for Real-time Infrastructure Damage Detection and Analysis