This web application is a Gradio demo which serves as a user-friendly Web UI to the amazing Real-ESRGAN Project, which aims at developing Practical Algorithms for General Image/Video Restoration through the use of Machine Learning Models. Real-ESRGAN actually extends the work of ESRGAN (Enhanced Super-Resolution Generative Adversarial Networks) which, in turn, utilizes super-resolution (SR) image techniques to reconstruct a higher-resolution (HR) image or sequence of images from the observed lower-resolution (LR) ones, e.g., upscaling of 720p image into 1080p. One of the common approaches to solving this task, is to use deep convolutional neural networks, capable of recovering HR images from LR ones.
For Face Enhancement purposes the app (as is also the case with Real-ESRGAN), optionally makes use of GFPGAN (Generative Facial Prior - GAN) which is a separate project that aims at developing a Practical Algorithm for Real-world Face Restoration. In layman's terms, GFPGAN restores facial characteristics of real-world images that might be low res or/and blurry.
Using the app is pretty straightforward: select an image either by dragging & dropping or by clicking & picking one from the file browser, configure the options you wish, hit the 'Restore Image' button and there you go!
If you'd like to see the app in live action, please visit my Hugging Face space: 🖼️ https://huggingface.co/spaces/havas79/Real...
and the GitHub page: https://github.com/code50/105391557/tree/m...
Acknowledgments:
RealESRGAN: https://github.com/xinntao/Real-ESRGAN
GFPGAN: https://github.com/TencentARC/GFPGAN
BasicSR: https://github.com/XPixelGroup/BasicSR
FaceXLib: https://github.com/xinntao/facexlib
Stack Overflow community: https://stackoverflow.com/questions/438641...
Gradio: https://gradio.app/
Hugging Face: https://huggingface.co/
Harvard CS50's Introduction to Programming with Python: https://pll.harvard.edu/course/cs50s-intro...
Annotations:
https://github.com/xinntao/Real-ESRGAN
https://arxiv.org/abs/2107.10833
https://esrgan.readthedocs.io/en/latest/
https://arxiv.org/abs/1809.00219
https://github.com/TencentARC/GFPGAN
https://xinntao.github.io/projects/gfpgan
https://arxiv.org/abs/2101.04061
https://www.techtarget.com/searchenterpris...
Video background music: Smooth Presentation (Soft Version) by David Fesliyan
https://www.fesliyanstudios.com/royalty-fr...