Project by Lama Shehadeh, Umi Syam and Hang Do Thi Duc.
Based on Eyewriter 1.0 Download raw Eyewriter 1.0 code here: https://github.com/eyewriter/eyewriter-1.0
Modifications
We added code, so you can plug in your Playstation Eye Camera and you're good to go to use the preexisting code. To actually play the game we added an additional scene(mode) and for simplicity deleted other scenes that we don't need right now.
Addons needed
- ofxOsc
- ofxXmlSettings
- ofxOpenCv
- ofxPS3EyeGrabber (Download here: https://github.com/bakercp/ofxPS3EyeGrabber)
- ofxKinect
Physical components needed Hack the PSEye and swap the camera with a tele lens (the view field is very narrow in comparison). Add IR Leds to enhance the contrast in the eye (brings out the pupil). Noticed in tests, some eye colors work better than others.
$10 – PSEye
$9 – Lens
$6 – Lens Mount
$9 – IR Leds (20 pieces)
$5 – 9 Volt Battery
Demo
Calibration process (look at the circle).
Here you can see the actual game. The green circle shows you the position of the eye gaze. Its vertical position is mapped to the position of the game's main character. Collect yellow assignments, don't miss more than 5 and avoid the blue obstacles or the game is over!