Webcam Images Processed And Played Back On LED Display

[Mathieu] has bee working to refine the code running on an LED matrix, and added some neat display tricks along the way. He wanted to make the display directly addressable from a computer. The 96×64 bi-color LED display is powered by an Atmel FPSLIC and already used double-buffering. Enabling a PC to write directly to one of the buffers was not too hard, requiring just a bit of optimization to get the timing right. From the look of the video after the break, he nailed it.

The video feed is generated from a webcam stream using Matlab to process each image. Just 50 lines of code captures a frame, sizes it appropriately, converts the result to black and white for edge detection, then finishes the job by compressing image data for transmission to the embedded processor. We’d like to say it’s easier that it sounds but we’re pretty impressed with this work. The display manages about 42 Hz with the current setup.

Continue reading “Webcam Images Processed And Played Back On LED Display”

Adding Pan And Tilt To A Webcam

[Brent] and his wife wanted a way to provide more family time for Grandparents that lived far away. They tried a webcam, but their daughter just didn’t oblige by staying in the frame. Instead of chasing her around the room with with the camera he added pan and tilt features to the device. He settled on IR control using a common television remote, similar to our USB remote control receiver tutorial except that it drives servo motors instead of forwarding signals over the serial connection. [Brent] used a Picaxe 08M, connecting two servos together as a base on top of the project box. If you try this yourself there’s a lot of room to grow. Once you’ve assembled the hardware it wouldn’t be too hard to make this web enabled so that Grandpa can click on a web interface to look around the room.

Using Quality Optics With A Webcam

[Devon Croy] built a case to join a webcam sensor with a camera lens. The box is a PVC conduit box you’d find at a home center. He used JB Weld to attach four bolts to the back of the box. These are used to fine-tune the mounting plate for the webcam sensor to ensure it’s at the focal point of the lens. The lens connects through a couple of extension tubes to an adapter mounted in the center of the box’s cover plate. The setup above shows a macro lens that takes pretty good pictures.

If you need images of really tiny things you should look into a microscope adapter for your camera.

Commercial Webcam Multi-touch Coming Soon

[youtube=http://www.youtube.com/watch?v=sBgg33J695I]

It looks like Toshiba has a webcam-based multi-touch display on the way. The video shows an iPod-esque photos album interface where the user stands in front of the display and manipulates it with both hands. The difference between this and some of the other multi-touch displays we’ve seen is that there is no touching necessary (goodbye fingerprints!). The user’s image is superimposed on the screen in a way that reminds us of the original Playstation Eye. Obviously this is much more refined, making us wonder if it’s the better camera, better processing, or both.

[Thanks Risingsun]

Monocle Fixes Webcam Farsightedness

[Vik Oliver] came up with a webcam focus fix that is so quick and simple we never would have thought of it. He received the webcam as a gift and mounted on an articulated lamp so that it could easily be positioned around his projects. The problem is the camera lacks a focus adjustment so the close-up shots were blurry.

In what we consider a eureka moment, he sourced a pair of dollar store reading glasses to fix the optics. The glasses came with their own mounting bracket. He clipped them in half and wrapped the wire ear support around the camera body. Great hacks don’t have to be complicated, and we need to do a better job of looking at the dollar store for project parts!

IDisplay, Webcam Multitouch

[youtube http://www.youtube.com/watch?v=mlLY0zic7u0%5D

Embedded above is an interesting multitouch demo by [Lahiru]. The goal of the project was to find an easy way to retrofit current LCDs for multitouch. Instead of using infrared or capacitive recognition, it uses a standard webcam mounted overhead. To calibrate, you draw polygon around the desktop screen as the webcam sees it. The camera can identify the location of markers placed on the screen and their color. iDisplay can also recognize hands making the pinch motion and sends these as touch events via TUIO, so it works with existing touch software. It’s written in C++ using OpenCV for image processing with openFrameworks as the application framework.

[via NUI Group]

PS3 Eye As A Webcam On Windows

The NUI Group has been working hard to bring the PS3 Eye to windows.  From the factory, this device has pretty impressive specs, but no windows drivers.  After a bit of hacking, they’ve developed a driver for it and released it on their forums.  The main reason they are so interested in it is that it can capture full frame at 60 frames per second, making it perfect for multi touch sensing.  Now that they’ve got it working with windows, they’re working on a custom PS3 Eye filter for touchlib.

[via PS3 Fanboy, thanks vor]