l1n / gabenizer

Batch pastes gaben's disapproving face over yours.

Home Page:www.reddit.com/r/gentlemangabers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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.

About

Batch pastes gaben's disapproving face over yours.

www.reddit.com/r/gentlemangabers


Languages

Language:Python 85.9%Language:Shell 14.1%