Instructables

Head tracking with a webcam

Picture of Head tracking with a webcam
This is like the head tracking with the wiimote but all that is needed is a pc and a webcam, even my very low quality webcam works!
 
Remove these adsRemove these ads by Signing Up

Step 1: Connect a webcam...

Picture of Connect a webcam...
cam1.jpg
Connect your webcam. the software requires that the webcam is connected and working before it is opened.
Make sure the webcam is above the screen roughly in the middle across the top.

Doesnt matter how good the cam is really although im assuming a better camera might work better than mine.

Step 2: Download the software...

Picture of Download the software...
go to http://www.kuubee.com/index.php/2008/02/28/virtual-viewpoint-code-download
to download the software that i used. (I have nothing to do with making it by the way.)
Download the file extract and run the virtualviewpoint.exe.
If its all working well it should start to a black screen, turn grey and then look broken.
Hit the "S" key to start tracking your eyes.

Step 3: Enjoy the vr headtracking!

Webcams have a thin field of view so if you find the view suddenly flying as if you looked really close to the screen its normally because you've moved to far to one side.

When using it press space to align your eyes when your looking at the centre of the screen.
Press "S" if it looses your eyes completely.

In config.dat you can change aspect ratio and a few other settings.

By making your own bubble.png and background.png files you can change the images in the program.

First instructable hope you enjoy!


huttarl1 year ago
The kuubee.com link now goes to a parked domain. Is this software available from somewhere else? Who was the author?
lokivoid4 years ago

Its useing OpenCV, thats explains why its not loading on most machines. Most people who use openCV in there open source projects fail to compile for any 64bit compatible chipsets or operateing systems.

To the people saying its vista's fault, no sorry the whole blame vista thing was started by apple as a marketing slander campaign agenst all non-apple computers windows or not, and reality is most issues in vista are caused by poor third party software such as driver's rather then the operateing system it self.

Mark Drees4 years ago
Right when i try to launch the executable it says that the program has stopped working. Ive noticed only certain peoples comps are lucky enough to run this so if you don't know the answer i wont pester you...
Is it Vista? Because mine did that and it's never been tested on Vista.
Yes, 32-bit Vista. It's really too bad because i cant get my Wiimote to connect to my Bluetooth adapter so i cant do the regular head tracking...
santy225 years ago
it says it gets a error and must be closed! PM me if you know the solution !
heamburger (author)  santy225 years ago
have you got the newest version of direct x and a direct x 9.0 compatible graphics card? also some thing to always try is to get the newest version of .net framework. does it give you any more error information?
yztay5 years ago
doesn't work for me :(
heamburger (author)  yztay5 years ago
I didnt think mine was working either but then i realised i hadnt hit s. :) Could be a graphics card issue, have you got newest directx?
rimar20005 years ago
This is AWESOME! It's Magic!
benthekahn5 years ago
i cant really try this because i don't have a pc, but i have a program called iNavigate for mac that will move the mouse as you move your head.
heamburger (author)  benthekahn5 years ago
I've also seen this for the mac http://molviz.cs.toronto.edu/molviz/ it works with isight or wiimote and does the same thing. software looks a little more complicated though and it was made for scientific use but its got a demo similar to the above.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!