Skip to main content

Converts vectors into drawings.

Project description

Vec2Face

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.

Usage

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)
v2f.draw_vec(vec)

Dev

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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page