• Stars
    star
    158
  • Rank 237,131 (Top 5 %)
  • Language
    Python
  • Created over 14 years ago
  • Updated over 14 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sample files for use with Face Recognition in OpenCV
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.

More Repositories

1

opengles-book-samples

A copy of the sample code from http://opengles-book.com/, with a port added for the Raspberry Pi specific changes ("Raspi")
C
142
star
2

UsageLogAnalysis

Distributed and live analysis of log data using python, supervisord and redis. Suitable for repositories or sites that wish to count stats according to arbitrary metadata groupings.
Python
24
star
3

pairtree

Python Pairtree implementation
Python
19
star
4

Kinect-tracking-code

Some demo python code to read, visualise and re-broadcast information emitted from https://github.com/Sensebloom/OSCeleton
Python
16
star
5

checkm

Checkm - implementation of the CDL microspec for checksumming
Python
9
star
6

PubMed-OA-network-analysis-scripts

Python
9
star
7

RDFLib-NQuads-parser

An RDFLib (>=3.0) parser to handle NQuad file inputs.
Python
8
star
8

Redis-101

Workshop notes
5
star
9

opencv-py-playpen

OpenCV Python demonstration scripts
Python
4
star
10

mypaint

Fork of MyPaint
Python
3
star
11

gheatmap

Altered the original code to display a heatmap of student properties.
Python
3
star
12

RecordSilo

RecordSilo - provides a local disc Silo (pairtree-based) to store digital objects in. Uses a JSON manifest and simple datastore. Doesn't provide indexing (but would suit being deployed with CouchDB).
Python
3
star
13

OAIPMH-Scraper

A set of convenience classes to scrape and archive content held in repositories
Python
2
star
14

AMQPQueue

Python
2
star
15

PIRUS2Daemon

A distributed system for pushing usage data via OpenURL ContextObjects to a PIRUS2 compliant endpoint
Python
2
star
16

k8055-webapi

Simple web.py based api for reading and writing to the Velleman k8055 board (requires libk8055 and the k8055 python libraries to be preinstalled)
Python
2
star
17

RDFDatabank

A pylons-powered repository, using RDF-enhanced objects held in pairtree structures
Python
2
star
18

ofs

OFS - blobstore + extended metadata
Python
1
star
19

dev8dinform

Dev8D - Inform7 project
1
star
20

PersonalSite

My homepage HTML, CSS and JS
JavaScript
1
star
21

IUCR-Geocoding

Scripts and data for the IUCr geocoding
Python
1
star
22

RDFobject

Class providing pairtree-based storage for RDF metadata and bitstreams
Python
1
star
23

Kinect_Workflow

Image/Data Array processing workflow, mainly driven by kinect signal processing to MIDI and visualisations
Python
1
star
24

RDFDatabank-workers

Python
1
star
25

PnPSkeleton

1
star
26

try_git

1
star
27

SiloServer

A basic server to let people examine and manipulate Silos
Python
1
star
28

isthisresearchreadable

1
star
29

SixDegreesOfHarryPotter

http://benosteen.wordpress.com/2010/07/23/six-degrees-of-harry-potter/
C
1
star
30

django-databank

Django port of RDFDatabank, with enhancements
1
star