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 details)

Uploaded Source

File details

Details for the file vec2face-0.0.1a1.tar.gz.

File metadata

  • Download URL: vec2face-0.0.1a1.tar.gz
  • Upload date:
  • Size: 467.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for vec2face-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 cdb9e22b2da471fa9c4490c6381347fc5680eef8e56885d23dfd7d7a577c1936
MD5 a256d07b48c655fc05093e61dd121335
BLAKE2b-256 b689f5dc06a1769183f2e3bc2e0269b4aa371b33b7a9da2b665ae5b79e8c5ef3

See more details on using hashes here.

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