Fault-tolerant Real-Time Perception for Self-Driving Vehicles