Demo for extrapolating detections through skipped frames. Based on OpenPose version 1.4.
- Install OpenPose version 1.4.
- Run
python openpose_extrapolation.py
.
If you just want to speed up inference on a detector, you can make your detector skip frames, and use Norfair to extrapolate the detections through these skipped frames.
In this example, we are skipping 2 out of every 3 frames, which should make the video process 3 times faster. This is because the time added by running the Norfair itself is negligible when compared to not having to run 2 inferences on a deep neural network.
This is how the results look like: