Git Product home page Git Product logo

facerecognition's Introduction

Face recognition via webcam images demo
--------------------------------------------

Just a simple script bringing together a number of techniques, files, tips etc from all over.

References:

Haar trained XML tree maps from here:
http://tutorial-haartraining.googlecode.com/svn/trunk/data/haarcascades/

Eye Cascade:
http://www-personal.umich.edu/~shameem/haarcascade_eye.html

Hand Cascade:
http://code.google.com/p/ehci/wiki/HandTracking

OpenCV python cheatsheet:
http://opencv.willowgarage.com/wiki/PythonInterface

Rough detect-faces code from here:
http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/

And PyGame is just a handy dandy toolset that I've used a number of times in the past. (I tend to use Processing when interacting with things in C)

Dependancies
------------

sudo apt-get install python-opencv python-pygame python-imaging

(SWIG-based bindings for OpenCV, PyGame and PIL - the python Imaging library)

Running
-------

Running the code unaltered will run the face detection algorithm on the demo.jpg file
and use the pygame loop to display it in a window.

python pygame_face.py

To see the webcam demo, make sure your webcam is detected under linux and then alter the section of the pygame_face.py file where it says # UNCOMMENT [...] and run it again.

facerecognition's People

Contributors

benosteen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.