Skip to content

antiboredom/mask-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mask generator

A python script that generates printable, cutout masks from face images. This script makes use of code from Alyssa Quek's Face Morpher library.

Created for the New Inquiry's "You Can Encrypt Your Face".

Installation

Clone this repo:

git clone https://github.com/antiboredom/mask-generator

Install the python requirements:

pip install -r requirements.txt

Install imagemagick:

# for mac, it's easiest with homebrew:
brew install imagemagick

Use

python make_mask.py [FILENAME]

The script will attempt to locate a face in the image you provide, cut out the face, remove the eyes, and put it on a background.

Masks will be saved in a masks folder, and eyeballs in an eyes folder.

About

Generates masks you can print out, cut and wear from images of faces.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages