Vehicle detection system intervenes to improve safety