Personal tools
You are here: Home Mediatechnology Courses Embodied Vision
Document Actions

Through Other Eyes

by Joris Slob last modified 2007-05-26 21:24

Responsive agent-based webcam imaging

For our assignment (done with Sonja van Kerkhoff), we used Python in creating different experiments of agent-based vision.

The source code is freely available to tinker with. If you use this work to base new work on, we would appreciate it if you mention our names somewhere.

To make it work you will need to have python installed on your computer. You can get python from here. The programs were tested in Python 2.5, but might work for other versions as well.

The next step is getting the Python Imaging Library, available here. These programs were tested with Python Imaging Library version 1.1.6. Make sure you have the package that corresponds with your Python version.

Lastly, the nasty part. we're afraid we have used a Windows specific module in there, because we weren't able to find cross-platform webcam modules. The windows specific module can be found here. It is called VideoCapture and was simple to use. Hopefully people with other machines can find equivalent Python modules for their platform.

If you use another webcam library than mentioned above you shouldn't need to change more than about 10 lines (which relate to the webcam) in any of our files.


After these steps, you are ready to go. The files should run with python. In windows you just double click the source files and by default it will start in python, other operating systems usually require that you really run the program in a console:
python filename.py

Here are the source files of all our programs:

Values of White
Edges of Change
Shared Experience

For visuals and the webpage of Sonja, go to:

http://www.sonjavank.com/through.htm

« September 2010 »
Su Mo Tu We Th Fr Sa
1234
567891011
12131415161718
19202122232425
2627282930
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: