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.

Source Distribution

vec2face-0.0.1a1.tar.gz (467.5 kB view hashes)

Uploaded source

Supported by

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