If you use Linux, you know Xeyes is a simple program that follows your mouse movements. You can check out some web examples of Xeyes. You can even paste this javascript code on your website for Xeyes on the web.
Anyway, Hunz created physical Xeyes that stands on his window and follow people’s walking movements. Tight! We want one.
The eyes are made from large pizza boxes cardboard and rolled by RC-servos that are controlled by an ATTiny2313 that’s connected to the PC using the low-speed software usb stack. The camera is connected using USB as well. Since I disassembled my webcam and hooked it up to an FPGA for some experiments, I used an analog one and a USB video digitizer.
The video processing is done using mplayer. It’s cropped first to get only the street and no neighbour estates. Then a tiny & quick&dirty video filter plugin looks for the column with the strongest Y-component difference between the last & current frame and if the difference exceeds a certain threshold, that column is passed to the microcontroller using libusb.
[via]
6 Responses to DIY LINUX HACK – XEYES
Leave a Reply

Pingback: Zedomax Korea - Á¦µµ¸Æ½º ÄÚ¸®¾Æ - À¥ 2.0, Å×Å©³î·ÎÁö, ±×¸®°í ºí·Î±×
This is absolutely the most awesome hack I’ve seen in a while.
If I had the equipment, I’d do it. Pity you can’t make it go crosseyed.
Oh yeah, definitely coolest hack in awhile…
Pingback: DIY Linux Hack - Xeyes « Geek News
yeah this is cool… but you should put it lower and make it bigger so more people see it…
LOL would be a halarious prank