Skip to content
FAMiLab Network Camera Face Detection
Branch: master
Clone or download
willasaywhat Merge pull request #1 from GunioRobot/clean
Hi! I cleaned up your code for you!
Latest commit 8f0cb4c Dec 21, 2011
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.markdown Remove whitespace [Gun.io WhitespaceBot] Oct 27, 2011
famicam.py Added changes by tetsu. Laughing man now replaces faces. Known issue … Jun 5, 2010
laughing_man.png Added changes by tetsu. Laughing man now replaces faces. Known issue … Jun 5, 2010

README.markdown

famicam

Description

This script captures a trio of images from a Sony IPELA SNC-RX550N. Following that, it will run a simple face detection script from the OpenCV library. It will then post any photos with greater than zero faces to a twitter account using imgur to post the images.

Settings

Remember to set the variables at the beginning of the script to your own settings.

  • camera_ip: This is the IP or hostname of the IPELA camera.
  • haar_file: On Windows for example, the example haar classifier may be located at: "C:\OpenCV2.0\data\haarcascades\haarcascade_frontalface_default.xml"
  • twitter_user: Twitter username to post with.
  • twitter_pass: Password for the twitter user.
  • imgur_api_key: API key from imgur.com which you can get at http://imgur.com/register/api/

Dependencies

  • OpenCV 2.0 with the Python extensions
  • pyimgur (Specifically my fork.)
  • python-twitter
You can’t perform that action at this time.