capitanalegria / MUGSHOTGAN

converts images or batches of images into portraits that resemble local authority mugshots.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MUGSHOTGAN

a colab notebook to see what a version of you or someone you know might look behind the camera of local authorities.

I apologize for the very disorganazed and redundant parts of the colab. If I come up with cleaner solutions I will keep updating them.

All though this is the very first repository I created going in very happy, most of the code is taking verbatim from other sources, which I link in the colab and here as well with deep gratitude.

Please forgive me if I am using the platform incorrectly.

alt text alt text alt text

WITH CODE FROM THESE AUTHORS:

Pytorch pix2pix by Jun-Yan Zhu @junyanz https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix

JoJoGAN CoLab by Min Jin Chong @ https://github.com/mchong6/JoJoGAN

REAL ESRGAN by Xintao @ https://github.com/xinntao/Real-ESRGAN.git

google-images-download by Hardik Vasa @hardikvasa forked by Joeclinton1 from https://github.com/Joeclinton1/google-images-download.git

Xavier Weber https://towardsdatascience.com/deep-learning-based-super-resolution-with-opencv-4fd736678066

http://dlib.net/imaging.html#get_frontal_face_detector

https://learnopencv.com/edge-detection-using-opencv/

@mohanapranes https://www.geeksforgeeks.org/cropping-faces-from-images-using-opencv-python/

@misc{sefiks14856,  author ={Serengil, Sefik Ilkin},  title = { Facial Landmarks for Face Recognition with Dlib },  howpublished = { https://sefiks.com/2020/11/20/facial-landmarks-for-face-recognition-with-dlib/ },  year = { 2020 },  note = "[Online; accessed 2022-03-19]" }

About

converts images or batches of images into portraits that resemble local authority mugshots.


Languages

Language:Jupyter Notebook 100.0%