OpenCV Knows Where You’re Looking With Eye Tracking

[John] has been working on a video-based eye tracking solution using OpenCV, and we’re loving the progress. [John]’s pupil tracking software can tell anyone exactly where you’re looking and allows for free head movement.

The basic idea behind this build is simple; when looking straight ahead a pupil is perfectly circular. When an eye looks off to one side, a pupil looks more and more like an ellipse to a screen-mounted video camera. By measuring the dimensions of this ellipse, [John]’s software can make a very good guess where the eye is looking. If you want the extremely technical breakdown, here’s an ACM paper going over the technique.

Like the EyeWriter project this build was based on, [John]’s build uses IR LEDs around the edge of a monitor to increase the contrast between the pupil and the iris.

After the break are two videos showing the eyetracker in action. Watching [John]’s project at work is a little creepy, but the good news is a proper eye tracking setup doesn’t require the user to stare at their eye.

Continue reading “OpenCV Knows Where You’re Looking With Eye Tracking”

Making Instagram With An Old CRT

If you’re not familiar with Instagram, it’s a mobile app that takes pictures, applies low-fi ‘lomographic’ digital filters, and shares them on the Internet. For reasons we can’t comprehend, Instagram has been wildly successful as of late and was recently purchased by Facebook for a Billion dollars. [Martin Ström] figured he could do something much cooler than applying digital filters to a cell phone picture, so he built InstaCRT, an app that turns your pictures into grainy CRT images and satiates the geek and hipster in everyone.

From [Martin]’s project page, InstaCRT uses a small black and white CRT from an old camcorder and a Canon 7D to apply real-world analog filters to all the uploaded pictures. Once the pictures are uploaded to the MacBook Pro server, they’re displayed on the CRT and a picture is taken with the 7D. Once an Android/iOS device sends a picture to the server, it’s displayed on the CRT, the 7D snaps a picture, and the resulting ‘filtered’ picture is sent back to the mobile device.

While we’re sure a few Hackaday commentors are going to ask ‘why’, it’s still a very cool build that is the first real world digital camera filter we’ve seen. You can check out the video demo of InstaCRT after the break.

Continue reading “Making Instagram With An Old CRT”

A DSLR Shutter Cable For Android

Here’s a very easy way to trigger your DSLR camera using an Android device. It’s a similar method used with IR triggered cameras, in that all you need to do is assemble some simple hardware to plug into the headphone jack. The app that triggers the camera simply plays back a well crafted audio file to do so. The thing that this cable adds is the ability to use the focus feature, since the cable has two data lines.

The hardware is dead-simple. A pair of NPN transistors and a pair of resistors are hosted by this small chunk of strip board. The audio jack for Android uses left and right audio channels to drive the base of these transistors. On the camera side of things the transistors are pulling the focus, and shutter contacts to ground. Once this is covered with shrink tubing it’ll be pretty rugged, and ready to be thrown in your camera bag for use on short notice.

[Thanks Hannes]

3d Printing Saves The Day For Time-lapse Photography

Several of us here at Hackaday have discussed how much we’d like to have some tools, like a 3d printer, but just can’t justify the cost. What would we make? Why do we really need one? Why don’t we just bother [Brian Benchoff] who already has one to make us parts instead. That’s usually how the conversation goes.

[Alexander Weber] gave us another little reason to drop in our “list of reasons we need a 3d printer” list with this little hack. He wanted to play with CHDK but found the camera’s battery unable to stay alive for longer than 2 hours. There is a commercially available adapter to allow you to plug into the wall, but the cost was outrageous. At least it is outrageous to someone who already owns a 3d printer. We just need a few hundred more dollars worth of reasons to justify that sweet 3d printer we’ve been pining over.

[via Adafruit]

Hackaday Links May 9th 2012

Homecut – CNC Cutting Directory

homecut

So you have a CNC machine that you use as a hobby, but would like to do some actual work on the side? Or maybe you have an idea you’d like made. Homecut is a map directory where you can maybe hook up with the right person.

The Curta Mechanical Calculator

curta calculator

As [leehart] mentioned in our comments section, the Curta mechanical calculator is a truly ingenious piece of engineering. A quick Google search should find all kinds of information on it, but this article could be a good place to start for some mechanical hacking inspiration!

Luxman Amplifier DAC Upgrade

nand-dac

[R. Barrios] wasn’t happy with using the sound card for his HTPC setup, so decided to add a DAC module onto his reciever. The resulting audio quality was very good, and the build came out quite clean.  Check it out if you’re thinking of a hack-upgrade to your stereo equipment.

3D Printable Tilt-Shift Adapter

tilt-shift-lens

A tilt-shift lens a neat piece of equipment that is used to make a large scene look like they were miniatures. It’s a cool effect, but professional lenses to do this can cost thousands of dollars. This Instructable tells you how to go about printing your own. For more info on the technique itself, check out this Wikipedia article.

New 3D Printer on the Block

3d-printer

If you would like to take the plunge into 3D printing, but are looking for somewhere to get a parts kit, the [ORD Bot Hadron 3D Printer] may be worth a look.  The build quality looks great, and the price for the mechanical components is quite reasonable at $399. You’ll need to provide the electronics and extruder. Thanks [comptechgeek]!

Converting A Manual Camera Lens To Use Motorized Zoom And Focus

[Guy] wrote in to share this motorized camera lens project he recently finished. He really loved the zoom lens, but since both zoom and focus are manually controlled, he sometimes had trouble getting both set to the right place in time to take the shot. With modern DSLR cameras which allow video capture, he also wants to have the option of a smooth zoom that is always in focus. The solution was to add motors to the rings and control them with a Wii classic controller.

This hack really shines when it comes to the add-on hardware. He has some beautifully made rings which wrap around the focus and zoom rings on the lens. They are then held in place by a timing belt. These belts have teeth which key into the gears on a pair of servo motors. From there it’s a snap to drive the motors with an Arduino, connecting to the Wii controller with a breakout connector. You can see [Guy] showing off the build in the clip after the break.

Continue reading “Converting A Manual Camera Lens To Use Motorized Zoom And Focus”

6 Camera Face Scanning Rig

[Ajeromin] was asked to build something cool for a museum exhibit. He took the challenge, and with his facial capture device, we feel he delivered. The writeup is very short, most of the story is in the annotated images. After deciding he was going to do facial capture and convert it to 3d, he had to start planning. There are many ways to do this, but usually the person having their face captured isn’t an excited child at a museum. The presented some unique challenges in that he knew he would have to capture all the images at once, and quickly too. To do this, he lit the entire rig very well to reduce the amount of noise in the pictures and wired all 6 cameras up to snap at the same moment. He even encapsulated the circuit in a glass jar just so the kids could see more of the parts.

The next logical step would be to attach this to a 3d printer and let people buy 3d printed models of their face. The quality is certainly good enough as he shows in one of the final images.

Great job [Ajeromin]