This repository contains a .NET wrapper for using Codeformer, a tool for enhancing videos using the Codeformer model. Codeformer is a model designed for enhancing images and videos, and this wrapper provides a convenient UI for interacting with the Codeformer functionality.
- Provides a user-friendly UI for interacting with Codeformer.
- Allows for enhancing videos using the Codeformer model.
- Supports configuring parameters such as upscaling factor, fidelity, face upsampling, and background enhancement.
- Ensure you have Python 3.9 installed on your system.
- Clone this repository to your local machine.
- Build the solution using Visual Studio or any other preferred IDE.
- Ensure all dependencies are installed. (Emgu.CV, Python.Runtime, etc.)
- Install the required Python packages by running
pip install -r requirements.txtin thecodeformer-DotNetWrapperdirectory. - Set the
PYTHONNET_PYDLLenvironment variable to point topython39.dll. - Run the application.
- Emgu.CV: Library for image processing.
- Python.Runtime: Interoperability library for Python and .NET.
- Codeformer: Python package for video enhancement.
- Open the application.
- Select a video file you want to enhance.
- Adjust parameters as needed (upscaling factor, fidelity, etc.).
- Click the "Enhance" button to start the enhancement process.
- Wait for the process to finish. You can pause/play the video during the process.
- Once enhancement is complete, you can save the enhanced video.
- Just me
This project is licensed under the MIT License.