Patience is the key!! Meanwhile grab a pair of dumbbells and have a look at Biceps Curl Counter
- Reduce Inference latency
- Use multiprocessing to save video(OpenCV) and process video(YOLO) simultaneously.
Currently, the function calls have the following time delays:
After Fn call | Frames processed/~10sec |
---|---|
model.predict | 72 |
Decode_netout: | 17 |
rescale_yolo_boxes: | 15 |
do_nms: | 03 |
filter boxes: | 02 |
- | - |
final: | 02 |