3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

The EyeWriter

Step 9Connect to the EyeWriter Software

Connect to the EyeWriter Software
The EyeWriter software is two parts — an eye-tracking software designed for use with our low-cost glasses, and a drawing software designed for drawing with eye movements. The source code for the project is currently being hosted at: http://code.google.com/p/eyewriter.

The software for both parts has been developed using openframeworks, a cross platform c++ library for creative development. In order to compile and develop the EyeWriter source code, you will need to download openframeworks (pre release v0.06). Documentation, setup guides and more information can be found at http://openframeworks.cc.

For more info on the EyeWriter software click here.

PS3 Eye drivers & QT components

In order to use the PS3 eye you will need to download a driver/component and install it.

For a mac you will need to download the quicktime component here and put it in your-hardrive//Library/QuickTime.

To learn more about using it on a PC click here.

Video Capture

Alternatively, if you plan to use another type of NTSC camera, you will beed a video capture card. We have successfully used the Pinnaccle Dazzle USB DVD recorder. To use this device you will need to install a PC driver or use VideoGlide. This software does require a user-license which costs roughly $25.00 dollars

Eye-Tracking Software

The eye-tracking software detects and tracks the position of a pupil from an incoming camera or video image, and uses a calibration sequence to map the tracked eye/pupil coordinates to positions on a computer screen or projection. Note that we use the GSL (gnu scientific library) for calibration, which is GPL, thus the eye tracking source code is GPL.
The pupil tracking relies upon a clear and dark image of the pupil. The diy glasses we designed use near-infrared leds to illuminate the eye and create a dark pupil effect. This makes the pupil much more distinguishable and, thus, easier to track. The camera setting part of the software is designed so the image can be adjusted with brightness and contrast to get an optimal image of the eye.
The calibration part of the software displays a sequence of points on the screen and records the position of the pupil at each point. It is designed so that a person wearing the glasses should focus on each point as it is displayed. When the sequence is finished, the two sets of data are used to interpolate where subsequent eye positions are located in relation to the screen.

The following software tutorial walk-through will help you to better understand the tracking interface.

eyewriter tracking software walkthrough from thesystemis on Vimeo.

Eye-Drawing Software

The eye-drawing software is designed to work with the EyeWriter tracking software as well as commercial eye-trackers such as the MyTobii. It is currently a separate application from the EyeTracker, but we will also post a combined version that shows the two working together.
The tool allows you to draw, manipulate and style a tag using a time-based interface so that triggering buttons or creating points for drawing is achieved by focusing on the position for a given amount of time. Tags and tag data can also be uploaded via FTP and HTTP Post.

The following software tutorial walk-through will help you to better understand the drawing interface.

EyeWriter - Drawing App walkthrough from Theo Watson on Vimeo.

« Previous Step   View All StepsNext Step »
8 comments
Nov 11, 2011. 7:12 AMredwards9 says:
I downloaded the macam and the eyewriter software and installed it on my macbook pro. Both programs work but I can't figure out how to make the eyewriter use the PS3 cam instead of the built-in cam. Any way to make this work on a macbook pro or any other mac with a built-in cam?

Also were can I download the drawing app and is there a mac version?
Nov 30, 2011. 6:21 PManesteruk says:
On mac, all you have to do is this:

mac users need to install the modified maccam component (http://www.openframeworks.cc/files/macam-ps3eye-manualwb-defaultVGA.zip) to /Library/QuickTime to get a good, fixed everything ps3 camera image from their computer (if they are using ps3 eye camera as described in the eyewriter instructables)

should work after you move the compnent file to that directory
Nov 21, 2011. 10:03 PManair8 says:
redwards9,

Have you figured out how to make the eyewriter use the PS3 cam instead of the built-in cam? I have the same problem and will be grateful if you share the solution (if you have found it!)
Nov 22, 2011. 12:19 PMredwards9 says:
I have not unfortunately. I have tried sending out other emails but no response. If I get it figured out, I'll post it.Please do the same.

Thanks!
Nov 22, 2011. 6:04 PManair8 says:
redwatds9,

I have since figured this out! (I work with Windows 7. I am sure this will work with Windows XP too)

Do NOT connect your PS3 Camera to the laptop/ PC

Go to Control Panel->System->Device Manager

You will see your built-in camera listed here under Imaging Devices. (Mine was Sony Visual Communications Camera). Right click on this and select "Disable".

With the Device Manager open, plug your PS3 Camera to the USB Port

You will see that as you plug on the PS3 Camera, a new device gets displayed as a new device. (In my case this came listed as "PS3 Eye Camera" under a new group named "CodeLabs DeVices". If You don't see this, try unplugging/ plugging on the camera).

To calibrate the PS3 Camera, I used the software temptTracker tracker that I downloaded and extracted in the folder temptTracker_020_cb. Hope you too have downloaded this.

Go to temptTracker_020_cb->bin->data->settings. Open the file xml file inputSettings using NotePad. In this file there is a line to specify the DeviceId (Between angular brackets with DeviceId and /DeviceId)

I had to try different device IDs in the line 0. (In my case 2 worked!). Thus this line was changed to 2. After each trial with a new device number, save the file in NotePad.

With the DeviceId as 2 I got the eyewriter to detect and use the PS3 cam! For this, I executed the Application "temptTracker" found in the Bin folder.

Hope this works for you too!

Anand Nair
Mar 15, 2012. 4:17 PMdbattsogt says:
hey so i followed your instructions and it worked great for temptTracker.exe file but now im having trouble having it work for the Remoteeyetracker.exe file .. that you can download from https://cid-f966c677a7c86219.office.live.com/embedicon.aspx/Remote%20Eye%20Tracker%20Windows ... does anyone know how to make it work?
Nov 22, 2011. 6:24 PMredwards9 says:
Thanks! I am trying to get this to work on my Macbook Pro but the person who needs to has a PC too I believe. I'll have to borrow a PC and follow your instructions.

Thanks again for the reply!!

Robert
Nov 30, 2011. 6:19 PManesteruk says:
Can you please post a combined version of the program for this version of the eyewriter project? I have the tracking software working with the ps3 cam, but cannot figure out how to use the drawing app with the camera. You said you would post the combined version, but I can't find it anywhere! Thanks!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
220
Followers
6
Author:Q-Branch
I made weapons for the British government for over thirty-five years. Now that I am retired, I have gotten involved in outfitting graffiti writers and street artists with state-of-the-art technology. ...
more »