https://github.com/the0cp/face2pixel
Generate pixel-style avatars with python.
https://github.com/the0cp/face2pixel
face2cartoon image-build image-processing opencv-python pixel-art python
Last synced: 8 months ago
JSON representation
Generate pixel-style avatars with python.
- Host: GitHub
- URL: https://github.com/the0cp/face2pixel
- Owner: the0cp
- License: mit
- Created: 2022-01-25T02:58:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T09:32:39.000Z (over 4 years ago)
- Last Synced: 2025-10-14T18:04:33.661Z (8 months ago)
- Topics: face2cartoon, image-build, image-processing, opencv-python, pixel-art, python
- Language: Python
- Homepage:
- Size: 263 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# face2pixel
Generate pixel-style avatars with python.
## Run:
1. Clone the project:
```shell
git clone https://github.com/theodorecooper/face2pixel
```
2. install requirements:
```shell
pip install -m requirements.txt
```
3. Put pictures(*.jpg) to `imgs/` folder
4. run the `main.py`, the output images will be stored in `output/`(*.png).
```shell
python main.py
```
## Requirements:
- opencv-python
- numpy
- tqdm
- glob
## Based on
- Python 3.9.6
- Tiler: https://github.com/nuno-faria/tiler
## Screenshots
### Before:

### After:
