Replacing the IR sensors with ESP32-CAM to increase the efficiency and handle the more congested lane.
Just about every “getting started with microcontrollers” kit, Arduino or otherwise, includes an ultrasonic distance sensor ...