Batch pastes gaben's disapproving face over yours.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.openshift Typo. May 9, 2015
wsgi/static Recreate directory structure. Jan 27, 2015
.gitignore
README.md Fix URL to OpenShift Jun 5, 2015
demo.png Shrink demo image Apr 22, 2014
gaben.png
gabenface.png Run gabenizer hourly with cron Jan 6, 2014
gabenizer.py Bugs. Jan 27, 2015
gentlemangabers.py Change user agent. May 9, 2015
mentions.py Change user agent. May 9, 2015
setup.py

README.md

#gabenizer bot This is a reddit bot which crawls a specified subreddit for its top photos, runs them through facial detection, and attempts to replace every face with Gabe Newell's.

alt text

His face is scaled and rotated to match the size of the target. If the source image is in grayscale, the output is filtered as well.

alt text

See it in action here!

##TODO

-If skintones don't match, apply color filter
-Direct upload to imgur instead of by URL

Notes for running: this project is designed to run on OpenShift. ssh into the deployed instance to set the environment variables for API keys and reddit account.

If using a new reddit account, the spam filters will lock out your bot. Manually post and upvote some material until it stops prompting for CAPTCHAs on every post.