Skip to main content

Converts vectors into drawings.

Project description


Functions that illustrate a vector as a drawing of a face.

The functions are derived from the Helen dataset [1]. This project is inspired by Chernoff Faces. The approach for creating the functions is explained in this blog post

In theory, vectors near each other will have similar faces.


The package includes pretrained functions for illustrating data points.

Initialize by providing the number of dimensions of the data points in the source dataset.

v2f = Vec2Face(dims=16)


pip install -e .
pip install -r requirements-dev.txt

[1] Interactive Facial Feature Localization Vuong Le, Jonathan Brandt, Zhe Lin, Lubomir Boudev, Thomas S. Huang. ECCV2012

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vec2face, version 0.0.1a1
Filename, size File type Python version Upload date Hashes
Filename, size vec2face-0.0.1a1.tar.gz (467.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page