Name | wyn-wav2lip JSON |
Version |
0.2.3
JSON |
| download |
home_page | None |
Summary | A simple package to run Wav2Lip for lip synchronization with quality enhancements. |
upload_time | 2024-09-08 01:53:05 |
maintainer | None |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Wav2Lip Package
Wav2Lip is a Python package that simplifies the setup and execution of the [Wav2Lip](https://github.com/anothermartz/Easy-Wav2Lip) model, a deep learning tool for lip synchronization with enhanced quality options.
```
wav2lip_project/
├── wav2lip/
│ ├── __init__.py
│ └── wav2lip.py # Refactored class-based script with the correct name
├── pyproject.toml # Poetry configuration file
├── README.md # Project description and usage instructions
├── LICENSE # License file (e.g., MIT License)
├── tests/
│ └── test_wav2lip.py # Unit tests for the package
├── dist/ # Will contain build files after 'poetry build'
├── .gitignore # Files to ignore in version control (optional)
└── setup.cfg # Optional: You can include a setup.cfg for backward compatibility
```
## Features
setup for Google Colab environments.
- Supports multiple quality settings (Fast, Improved, Enhanced).
- Integrated with GFPGAN for face upscaling.
- Easy configuration through INI files for customizable options.
## Installation
To install the Wav2Lip package, you can use [Poetry](https://python-poetry.org/) to manage dependencies.
```bash
pip install wav2lip
```
## Usage
Here's an example of how to use the `Wav2Lip` package:
```python
from wyn_wav2lip.wav2lip import *
# Initialize Wav2Lip
wav2lip = Wav2Lip()
# Setup environment (ensure that you have GPU enabled)
wav2lip.setup()
# Run: requires 2 input args:
# - an image
# - a voice file
wav2lip.run(video_file="/content/yiqiao3.jpg", vocal_file="/content/Easy-Wav2Lip/output.mp3")
```
### Options
You can specify different options for the model, such as:
- **Quality**: `"Fast"`, `"Improved"`, or `"Enhanced"`.
- **Output Height**: `"half resolution"`, `"full resolution"`, or `"480"`.
- **Padding and Mask**: Customize mouth tracking, padding, and mask settings.
## Contributing
Feel free to open issues or contribute by submitting pull requests.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
```
Raw data
{
"_id": null,
"home_page": null,
"name": "wyn-wav2lip",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/56/67/32fae35b14528c357165e28a25ee80bdb34a5bc097739a2b1f4b76820445/wyn_wav2lip-0.2.3.tar.gz",
"platform": null,
"description": "# Wav2Lip Package\n\nWav2Lip is a Python package that simplifies the setup and execution of the [Wav2Lip](https://github.com/anothermartz/Easy-Wav2Lip) model, a deep learning tool for lip synchronization with enhanced quality options.\n\n```\nwav2lip_project/\n\u251c\u2500\u2500 wav2lip/\n\u2502 \u251c\u2500\u2500 __init__.py\n\u2502 \u2514\u2500\u2500 wav2lip.py # Refactored class-based script with the correct name\n\u251c\u2500\u2500 pyproject.toml # Poetry configuration file\n\u251c\u2500\u2500 README.md # Project description and usage instructions\n\u251c\u2500\u2500 LICENSE # License file (e.g., MIT License)\n\u251c\u2500\u2500 tests/\n\u2502 \u2514\u2500\u2500 test_wav2lip.py # Unit tests for the package\n\u251c\u2500\u2500 dist/ # Will contain build files after 'poetry build'\n\u251c\u2500\u2500 .gitignore # Files to ignore in version control (optional)\n\u2514\u2500\u2500 setup.cfg # Optional: You can include a setup.cfg for backward compatibility\n```\n\n## Features\n\n setup for Google Colab environments.\n- Supports multiple quality settings (Fast, Improved, Enhanced).\n- Integrated with GFPGAN for face upscaling.\n- Easy configuration through INI files for customizable options.\n\n## Installation\n\nTo install the Wav2Lip package, you can use [Poetry](https://python-poetry.org/) to manage dependencies.\n\n```bash\npip install wav2lip\n```\n\n## Usage\n\nHere's an example of how to use the `Wav2Lip` package:\n\n```python\nfrom wyn_wav2lip.wav2lip import *\n\n# Initialize Wav2Lip\nwav2lip = Wav2Lip()\n\n# Setup environment (ensure that you have GPU enabled)\nwav2lip.setup()\n\n# Run: requires 2 input args: \n# - an image\n# - a voice file\nwav2lip.run(video_file=\"/content/yiqiao3.jpg\", vocal_file=\"/content/Easy-Wav2Lip/output.mp3\")\n```\n\n### Options\n\nYou can specify different options for the model, such as:\n\n- **Quality**: `\"Fast\"`, `\"Improved\"`, or `\"Enhanced\"`.\n- **Output Height**: `\"half resolution\"`, `\"full resolution\"`, or `\"480\"`.\n- **Padding and Mask**: Customize mouth tracking, padding, and mask settings.\n\n## Contributing\n\nFeel free to open issues or contribute by submitting pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple package to run Wav2Lip for lip synchronization with quality enhancements.",
"version": "0.2.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aca57bf60ee5244c425b591456dd3217f6e8395448397102bad7896b288f9a7e",
"md5": "d4549ddbc5aa34ed40e537d91ee955a3",
"sha256": "168179111a82dd057b486e1b79a40b0eb212c682f79794a85f0afc89e640dbc5"
},
"downloads": -1,
"filename": "wyn_wav2lip-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d4549ddbc5aa34ed40e537d91ee955a3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 9629,
"upload_time": "2024-09-08T01:53:04",
"upload_time_iso_8601": "2024-09-08T01:53:04.508363Z",
"url": "https://files.pythonhosted.org/packages/ac/a5/7bf60ee5244c425b591456dd3217f6e8395448397102bad7896b288f9a7e/wyn_wav2lip-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "566732fae35b14528c357165e28a25ee80bdb34a5bc097739a2b1f4b76820445",
"md5": "c532bf810cb0c5ed30fdca951e6f2455",
"sha256": "671f5135b456efd20e2a728f894c2aefc64f1258dfa25f4a1725a26f04895528"
},
"downloads": -1,
"filename": "wyn_wav2lip-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "c532bf810cb0c5ed30fdca951e6f2455",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 8788,
"upload_time": "2024-09-08T01:53:05",
"upload_time_iso_8601": "2024-09-08T01:53:05.774384Z",
"url": "https://files.pythonhosted.org/packages/56/67/32fae35b14528c357165e28a25ee80bdb34a5bc097739a2b1f4b76820445/wyn_wav2lip-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-08 01:53:05",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "wyn-wav2lip"
}