Random Face
A simple python library for fast image generation of people who do not exist.
Requirements
- Linux, Windows, MacOS
- Python 3.8.+
- CPU compatible with OpenVINO.
Install package
pip install random_face
Install the latest version
git clone https://github.com/bes-dev/random_face.git
cd random_face
pip install -r requirements.txt
python download_model.py
pip install .
Demo
python -m random_face.demo
Example
import cv2
import random_face
engine = random_face.get_engine()
face = engine.get_random_face()
cv2.imshow("face", face)
cv2.waitKey()
Citation
@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}
}
Metadata
Release files for random-face 2021.6.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| random_face-2021.6.9.0.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| random_face-2021.6.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.6 MB
Release files / random_face-2021.6.9.0.tar.gz
| Download URL | random_face-2021.6.9.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
974dfef8a67bcac2db4064b2f353cdae8dcfaf81a6a9068100190b8228ed0e19
|
|
BLAKE2b-256 checksum How to use checksums |
f44256a1f54677604d5aad0b67048c337277c7d0f57bab9967f04ee625ec4988
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5
|
Release files / random_face-2021.6.9.0-py3-none-any.whl
| Download URL | random_face-2021.6.9.0-py3-none-any.whl |
|---|---|
| Size | 37.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b20a24bdf3b691a4ceddca8d92650e30a9a3ee60710b703bf1ec6f54f29f660
|
|
BLAKE2b-256 checksum How to use checksums |
52c0fdde034973e6e6579c40556317cc5a77e708d52115127dc1cd35989fc8e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5
|