Failed: Photobooth

Project Type: Python, Raspberry Pi
Software: SimpleCV, Text Editor or Python IDLE
OS: Raspian
Kits/Part Source: Raspberry Pi, Webcam, png image file of a mustache. 
Project Source: Getting Started with Raspberry Pi, 2nd Edition by Matt Richardson and Shawn Wallace

The project in this book was supposed to walk the reader through the steps to making a Photo Booth type App. It would snap a picture then composite a mustache on the face. 

1-10 Ratings

IKEA Rating - 1
I followed the steps from the book but the mustache just never looked right and there isn't anything in the book on how to troubleshoot the problem.

Masking Problems with the mustache

Masking Problems with the mustache

Tony Stark Rating - 0
The book just focuses on the coding for the project so no special skills needed.

Mr. Wizard Rating - 5
The project is designed to combine the previous Simple CV lessons into one fun project. It worked for the most part but I just couldn't fix the problem with the mustache.

Python code for the project