Clone YOLOv5 and install the environment.
Put these files to the YOLO's root path (replace the detect.py file)
Run detect.py first and wait for the detection window to pop out. Then run 2D_sim.py for reaction. Use cameras or RTSP stream to test.
lbest.pt: YOLOv5l model checkpoint
mbest.pt: YOLOv5m model checkpoint