Skip to content

connoryo/PoseGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoseGenerator

Overlays positions from a pre-generated pose JSON file to a video.

Setup

Requires Click, OpenCV, numpy, and MediaPipe.

Tested on Windows 11, macOS Monterey 12.3, and Ubuntu 20.04.4 LTS

$ pwd
~/Documents/PoseGenerator
$ python3 -m venv env
$ source env/bin/activate
$ pip install -e .

Usage

Output file must be specified as either a MP4 or WEBM file.

posegenerator --help | [-v] [-b] [-u] INPUT_VIDEO POSES_JSON OUTPUT_VIDEO

ex.

posegenerator MocapTest.mp4 MocapTest_default.dmpe Mocap_overlay.mp4
Processed 242 frames. Output can be found in Mocap_overlay.mp4

About

Overlays positions from a pre-generated pose JSON file to a video.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages