File size: 765 Bytes
cd1af34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Resume Photo Maker

[![Hugging Face Spaces](https://img.shields.io/badge/🤗%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/guocheng66/resume-photo-maker)

Make a resume photo with a simple python script and two lightweight deep neural networks.

<img src="images/elon.jpg" width="200">
<img src="assets/masked_resume_photo_0.jpg" width="200">

## Set up and run
```bash
pip install -r requirements.txt

python resume_photo_maker.py --image images/elon.jpg --background_color 255 255 255
```
There is a live demo on Hugging Face.[Try it now](https://huggingface.co/spaces/guocheng66/resume-photo-maker).

## Acknowledgements
https://github.com/ShiqiYu/libfacedetection

https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.9/contrib/PP-HumanSeg