Flode-Labs / vid2densepose
- воскресенье, 10 декабря 2023 г. в 00:00:11
Convert your videos to densepose and use it on MagicAnimate
The Vid2DensePose is a powerful tool designed for applying the DensePose model to videos, generating detailed "Part Index" visualizations for each frame. This tool is exceptionally useful for enhancing animations, particularly when used in conjunction with MagicAnimate for temporally consistent human image animation.
To utilize this tool, ensure the installation of:
Clone the repository:
git clone https://github.com/Flode-Labs/vid2densepose.git
cd vid2denseposeInstall necessary Python packages:
pip install -r requirements.txtClone the Detectron repository:
git clone https://github.com/facebookresearch/detectron2.gitRun the script:
bash python main.py -i input_video.mp4 -o output_video.mp4
The script processes the input video and generates an output with the densePose format.
You can also use the Gradio to run the script with an interface. To do so, run the following command:
python app.pyFor integration with MagicAnimate:
Special thanks to:
For any inquiries or support, please file an issue in our GitHub repository's issue tracker.