Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 732 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 732 Bytes

face2pixel

Generate pixel-style avatars with python.

Run:

  1. Clone the project:
git clone https://github.com/theodorecooper/face2pixel
  1. install requirements:
pip install -m requirements.txt
  1. Put pictures(*.jpg) to imgs/ folder
  2. run the main.py, the output images will be stored in output/(*.png).
python main.py

Requirements:

  • opencv-python
  • numpy
  • tqdm
  • glob

Based on

Screenshots

Before:

BEFORE

After:

AFTER