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]

Automated Paintball Sentry

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

Reader, [Ben Godding], sends in the video for his senior design team’s automated paintball sentry. The frame is made of plasma cut aluminum. The paintball gun uses a custom hopper mounted remotely from the gun body. It has two webcams offering a 160 degree field of vision, and the image processing is done by a dual core pentium CPU booting windows xp off a compact flash card. The computer interfaces with the 1/4scale RC servos using a PIC24. The paintball sentry can either be configured via a computer GUI when a monitor is available or a baclkit keypad and 4×20 charachter display in the field.

Related: [Jared Bouck]’s paintball gun turret

Arduino + Wii Nunchuck + Servos

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

[Yezzer] has posted a video of a cool little project he’s working on. He has interfaced the Arduino and the Wii Nunchuck to control some servos. He mounted a standard USB webcam on it for good measure. There isn’t a whole lot of information, but he does include a few links to code he modified for the project. The movement is quite natural looking and seems like it would be a cheap way to get some good animatronic controls started. This might actually be a great way to control a robot for the Crabfu challenge, if they ever have another one.

Update: As [dokument] points out in the comments below, it looks like we’ve seen a set up that could be almost identical in the past.

[via the Hack a Day Flickr pool]

Remote Image Processing In JavaScript

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

[Tom] wrote in to tell us about his JavaScript project for motion detection. It ties together two ideas we’ve talked about recently. The first is doing image processing in-browser using Canvas(), which we’ve seen employed in captcha breaking. The second is offloading heavy processing to browsers, which we saw recently in the MapReduce implementation. [Tom] is using JavaScript to compare consecutive images to determine if there’s any motion. He did this as part of MJPG-Streamer, a program for streaming images from webcams. It can run on very limited hardware, but image processing can be very intensive. Doing the image processing in-browser makes up for this limitation and means that a custom client program doesn’t have to be written. You can find the code here and a PDF about the proof of concept.

MINI’s Augmented Reality Ad

miniaugmented

We were surprised last month when we saw augmented reality being done completely in flash. It hasn’t taken too long to go mainstream though. MINI has incorporated it into a recent German language magazine ad campaign. The fiduciary marks actually work quite well with MINI’s established ad format. Visit the ad’s URL and hold the magazine up to the webcam and a 3D model of the MINI Cabrio will appear. They have a PDF of the ad that you can print and use if you don’t have the original. Unfortunately, it doesn’t seem to have cross-platform support.

[via Autoblog]

CuBear, Berkeley’s Rubik’s Cube Solver

[youtube=http://www.youtube.com/watch?v=N7BksZZyAdc&fmt=18]

A team of five UC Berkeley engineering built this impressive Rubik’s Cube solver. The CuBear is a giant transparent cube with a servo attached to each face to rotate the cube’s six faces. The user can either scramble the cube using computer controls or show the faces of a scrambled cube to the onboard webcam, and the machine will replicate it. While scrambling the cube may take many moves, the computer calculates the shortest number of moves to solve the cube before proceeding. Team member [Dan Dzoan] is quite a fast solver himself, as you can see at the end of BotJunkie’s video embedded below. Continue reading “CuBear, Berkeley’s Rubik’s Cube Solver”

Orientation Aware Camera


[Andrew Magill] just added his Orientation Aware Camera to the Hack a Day Flickr Pool. It uses a 3-axis magnetometer and 3-axis accelerometer. He didn’t want to spend too much effort on the USB side so he picked up USBMicro’s U421. It’s a fairly well documented preprogrammed microcontroller for USB. He later regretted this; his final sample rate was only 5Hz because of all the overhead. Using the positional data the, webcam image can be corrected for any sort of shaking. [Andrew] took this one step further by using OpenGL and stitching all of the video frames together live into a full panorama. Be sure to watch his excellent video demo embedded below. Continue reading “Orientation Aware Camera”