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!

Step 1: Connect a Webcam...

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...

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!



    • Arduino Contest 2019

      Arduino Contest 2019
    • Trash to Treasure

      Trash to Treasure
    • Tape Contest

      Tape Contest

    13 Discussions


    Question 7 months ago

    Is there a way to combine this with Waves NX, to get the headtracker to work for my surround sound 7.1 on my headphones?


    6 years ago on Step 2

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


    9 years ago on Introduction

    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 Drees

    9 years ago on Introduction

    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...

    2 replies
    Mark Dreescarrotman42

    Reply 9 years ago on Introduction

    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...


    Reply 10 years ago on Introduction

    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?


    Reply 10 years ago on Introduction

    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?


    10 years ago on Introduction

    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.

    1 reply