First, use yolov5 for object detection whose class includes car, truck, pedestrian, bicyclist, traffic light, traffic sign, motor and large vehicle. Second, crop the images of traffic light and ...