Closed floriandotpy closed 4 years ago
Hi, thanks for the contribution! I've checked, and it works :tada: The code is mostly ok, i've left some comments.
Fell free to reopen when you will be ready.
@Daniil-Osokin This implementation is already merged? If not, I also need this feature, so I want to take over.
@ryo-matsuzaka You can just use this branch.
Thank you very much for quick reply. Ok, I use this branch.
This PR adds an additional CLI parameter
--outfile
. You can pass in a video file path to store a video that contains the 2d pose overlayed on the input video. The video will also include a side-by-side view of the 3d pose.Example usage:
Note: When setting
--video=0
it also works for a webcam stream, put since the video writer is assuming fixed 30fps for now, the output video might look sped up compared to real-time.This is what the output video will look like:
Curious to hear feedback and if you want to merge this.