Coder Social home page Coder Social logo

face-restoration-webui's Introduction

FaceRestoration WebUI Based on GFPGAN and CodeFormer

This repository contains a FaceRestoration WebUI based on the GFPGAN and CodeFormer models. It provides an easy-to-use interface for users to upload images and restore them using these state-of-the-art models.

Requirements

Before running this application, ensure that you have Python 3.x installed on your system. If you do not have Python 3.x installed on your system, you can install the latest version (Python 3.10) by following these steps:

  1. Go to the official Python download page at https://www.python.org/downloads/.
  2. Scroll down to the "Python 3.10.0" section (or the latest version available at the time of installation) and click on the appropriate installer for your operating system.
  3. Run the installer and follow the on-screen instructions to complete the installation.

Once Python 3.10 is installed, you can proceed with installing the required packages. Navigate to the root directory and run the following command to install the requirements:

pip install -r requirements.txt

After doing this, download the Models to the root directory from here

How to Run

To run the application, navigate to the root directory of the repository and execute the following command If this is your first time running the application then:

python Main.py --first-run

Otherwise:

python Main.py

This will start the web server on your local machine. To access the application, open your web browser and navigate to the following URL:

http://localhost:7860

From there, you can upload your images and restore them using the GFPGAN and CodeFormer models.

Credits

The FaceRestoration WebUI is based on the GFPGAN and CodeFormer models developed by the following authors:

We are grateful for their contributions to the computer vision community.

Star History

Star History Chart

face-restoration-webui's People

Contributors

agi-dude avatar

Stargazers

Magnum Quest avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.