Skip to content

RedHenLab/OpenposeTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 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.txt

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%