A simple python library for fast image generation of people who do not exist.
For more details, please refer to the paper.
- Linux, Windows, MacOS
- Python 3.8.+
- CPU compatible with OpenVINO.
pip install random_face
git clone https://github.com/bes-dev/random_face.git
cd random_face
pip install -r requirements.txt
python download_model.py
pip install .
python -m random_face.demo
import cv2
import random_face
engine = random_face.get_engine()
face = engine.get_random_face()
cv2.imshow("face", face)
cv2.waitKey()
@misc{belousov2021mobilestylegan,
title={MobileStyleGAN: A Lightweight Convolutional Neural Network for High-Fidelity Image Synthesis},
author={Sergei Belousov},
year={2021},
eprint={2104.04767},
archivePrefix={arXiv},
primaryClass={cs.CV}
}