Skip to content

A tool for drawing openpose information onto the corresponding videos.

License

Notifications You must be signed in to change notification settings

BananaNosh/OpenposeTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenposeTools

A tool for drawing coloured lines on to a video file according to the openpose format.

Install

After cloning and setting up an environment call:

pip install -r requirements

Usage

usage: python Visualizer.py [-h] [-oi --out_images OUT_IMAGES] [-coco]
                     [-t --temp tempfolder] [--maxframes maxframes]
                     videofile json outfile

Draw the lines given with the json data on to the given video.

positional arguments:
  videofile             the video file to write on
  json                  the folder of json files with the data for each frame
                        (might be zipped)
  outfile               the output video file

optional arguments:
  -h, --help            show this help message and exit
  -oi --out_images OUT_IMAGES
                        the output folder for the images
  -coco                 add if the COCO openpose format is used instead of body_25
  -t --temp tempfolder  folder for saving the temp files
  --maxframes maxframes
                        maximal number of frames before splitting the video
                        sequence - default to 100

For now a continuation of this project is found at RedHenLab/OpenposeTools

About

A tool for drawing openpose information onto the corresponding videos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages