I tried to use your code for inspiration while doing tracking with different tool (YOLO+SORT) and realised matplotlib is painfully slow. I would suggest changing this part to use cv2. For me speed has gone from 5 fps to 10 fps for Full HD video. I could even try to make pull request if I could find some time in the future.
Hello,
I tried to use your code for inspiration while doing tracking with different tool (YOLO+SORT) and realised matplotlib is painfully slow. I would suggest changing this part to use cv2. For me speed has gone from 5 fps to 10 fps for Full HD video. I could even try to make pull request if I could find some time in the future.