sexta-feira, novembro 26, 2010

Football game using Processing and OpenCV

This is a small game made by my team (Team 4).
You are the goalkeeper trying to defend the penalties.
You can move the goalkeeper position by moving your face.



It requires:
- Processing
- OpenCV library for Processing
- webcam

You can download the code from here.

The code related to OpenCV is taken from Ian's facetracking code.
All other code was based on a tutorial we found on the web, but made from sratch.

Enjoy and leave a comment.

JC

- if you are having trouble installing OpenCV on Windows Vista, see previous post (Face Detection working on Windows XP).
- you can detect your body movement (instead of only the face) by replacing the haarcascade XML file.

1 comentário:

Utkarsh disse...

Hi! Nice idea! Looks like you're trying to copy Kinect ;)