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.

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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page