{"id":13490669,"url":"https://github.com/Flode-Labs/vid2densepose","last_synced_at":"2025-03-28T07:31:29.172Z","repository":{"id":210962734,"uuid":"727859402","full_name":"Flode-Labs/vid2densepose","owner":"Flode-Labs","description":"Convert your videos to densepose and use it on MagicAnimate","archived":false,"fork":false,"pushed_at":"2023-12-10T06:40:37.000Z","size":29313,"stargazers_count":983,"open_issues_count":13,"forks_count":127,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-10-31T04:34:52.679Z","etag":null,"topics":["densepose","magic-animate"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flode-Labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-05T18:12:50.000Z","updated_at":"2024-10-29T10:06:24.000Z","dependencies_parsed_at":"2023-12-10T02:25:49.573Z","dependency_job_id":"71fbf226-eaae-4e85-a3ac-c3eb0f50db12","html_url":"https://github.com/Flode-Labs/vid2densepose","commit_stats":null,"previous_names":["flode-labs/vid2densepose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flode-Labs%2Fvid2densepose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flode-Labs%2Fvid2densepose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flode-Labs%2Fvid2densepose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flode-Labs%2Fvid2densepose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flode-Labs","download_url":"https://codeload.github.com/Flode-Labs/vid2densepose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245989053,"owners_count":20705744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["densepose","magic-animate"],"created_at":"2024-07-31T19:00:49.978Z","updated_at":"2025-03-28T07:31:29.154Z","avatar_url":"https://github.com/Flode-Labs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Vid2DensePose\n\u003ca target=\"_blank\" href=\"https://colab.research.google.com/drive/1x77dESn7EGPCqjKdQ1sJJhNu0Cf-5Gpt?usp=sharing\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\n\u003c/a\u003e\n\n![](https://github.com/Flode-Labs/vid2densepose/blob/main/sample_videos/side_by_side.gif)\n\n## Overview\n\nThe 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.\n\n## Key Features\n\n\n- **Enhanced Output**: Produces video files showcasing DensePosedata in a vivid, color-coded format.\n- **MagicAnimate Integration**: Seamlessly compatible with MagicAnimate to foster advanced human animation projects.\n\n## Prerequisites\n\nTo utilize this tool, ensure the installation of:\n- Python 3.8 or later\n- PyTorch (preferably with CUDA for GPU support)\n- Detectron2\n\n## Installation Steps\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/Flode-Labs/vid2densepose.git\n    cd vid2densepose\n    ```\n\n2. Install necessary Python packages:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Clone the Detectron repository:\n    ```bash\n    git clone https://github.com/facebookresearch/detectron2.git\n    ```\n\n## Usage Guide\n\nRun the script:\n    \n```bash\npython main.py -i sample_videos/input_video.mp4 -o sample_videos/output_video.mp4\n```\n\nThe script processes the input video and generates an output with the densePose format.\n\n####  Gradio version\nYou can also use the Gradio to run the script with an interface. To do so, run the following command:\n```bash\npython app.py\n```\n\n## Integration with MagicAnimate\n\nFor integration with MagicAnimate:\n\n1. Create the densepose video using the steps outlined above.\n2. Use this output as an input to MagicAnimate for generating temporally consistent animations.\n\n\n## Acknowledgments\n\nSpecial thanks to:\n- Facebook AI Research (FAIR) for the development of DensePose.\n- The contributors of the Detectron2 project.\n- [Gonzalo Vidal](https://www.tiktok.com/@_gonzavidal) for the sample videos.\n- [Sylvain Filoni](https://twitter.com/fffiloni) for the deployment of the Gradio Space in [Hugging Face](https://huggingface.co/spaces/fffiloni/video2densepose).\n\n## Support\n\nFor any inquiries or support, please file an issue in our GitHub repository's issue tracker.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlode-Labs%2Fvid2densepose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFlode-Labs%2Fvid2densepose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlode-Labs%2Fvid2densepose/lists"}