Thread: Cheap TrackIr?
View Single Post
Old Oct 29th, 2007, 8:38 PM   #2
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
Re: Cheap TrackIr?

Quote:
Originally Posted by Mcoy View Post
I remember a post in these forums at one time describing someone's efforts to code an app that would use a webcam to track the movement a person's forehead, using a dot stuck to their head. I can't find anything relating to this using the search. Does any one know of (free) pre existing programs or code that would do this for me?
Otherwise, what would be involved in coding this up myself?
Well, if you're doing it yourself, I'd recommend you do it in Python. The VideoCapture module (http://videocapture.sourceforge.net/) makes capturing images from a webcam pretty darn easy (a bit slow though, there are probably better alternatives out there, i just haven't used any of them) and the Python Imaging Library (http://www.pythonware.com/products/pil/) is excellent for working on graphics.

I've been interested in similar things lately, if i make any significant progress over the next couple days I'll happily share the code with ya.
ZenMasterJG is offline   Reply With Quote