Face Tracking With An Android Device

This Android device can recognize faces and move to keep them in frame. It’s a proof of concept that uses commonly available parts and software packages.

The original motivation for the project was [Dan O’s] inclination to give the OpenCV software a try. OpenCV is an Open Source Computer Vision package that takes on the brunt of the job when it comes to discerning meaning from images. To give the phone the power to move he designed and printed his own mounting brackets for the phone and a couple of hobby servos. An IOIO board connects to the Android device in order to control the motors. On the software side all [Dan] needed to do was write some code to interface the output of the OpenCV face tracking modules with the input of the IOIO. See the finished project demonstration after the jump.

This system can easily be implemented with other hardware, like this Arduino-based version we looked at earlier in the year.

Continue reading “Face Tracking With An Android Device”

Hackaday Links: October 6, 2012

Upgrading a desktop with a diamond cutting wheel

[Michail] needed a new graphics card. The only problem was his motherboard didn’t have any free PCI-E x16 slots available. Unable to find a PCI-E x1 card, he did what any of us would do and broke out the Dremel. Yes, he got it working, but don’t do this unless you know what you’re doing.

It’s recycling!

[Steve] recently got a Galaxy S3 and was looking for something to do with his old phone. It’s got WiFi, it’s got a camera, and with a free app, [Steve] now has an IP Webcam. Neat way to recycle a phone.

This is now bookmarked

We’re not much for plugging other blogs, but Math ∩ Programming – that’s intersection, remember – is really cool. Apparently it has been around for a little more than a year and already there are quite a few really cool posts. How to use cellular automaton to generate caves in video games and facial recognition through Eigenvalues are amazingly in depth, and show the theory behind some really cool techniques. Very, very cool.

Troll Physics: now wireless!

Remember [Fredzislaw100], the guy who puzzled the Internet with impossible circuits? He’s back again, this time with wireless LEDs. We’re guessing something similar to an induction charging system in the battery clip, wirelessly coupled to something under the paper, and that is wirelessly coupled to the LEDs. Your guess will probably be better than ours, though.

Not shown: Captain Obvious, Major Major

Pv2 [Zachary Ricks] of the U.S. Army thought we would get a kick out of the last name of one of the guys in his company. Yes, it’s ‘Hackaday,’ and yes, it’s a real surname. Here’s the full pic [Zach] sent in. Apparently it’s a name along the lines of ‘Holiday.’ Honestly, we had no idea this was a real surname, but we’re thinking Private Hackaday could use a care package or two (dozen).

Anyone up for sending a few hacker friendly (for [Zach] and a few other guys) care packages? Even socks or books or Oreos would make for an awesome care package. Email me if you want the mailing address.

There’s A Friggin’ Cellphone In The Most Recent Entertainment Weekly

Hackaday readers were stumbling over each other to send in a link about this Android cellphone inside of an Entertainment Weekly magazine. Thanks to all who sent it in, and keep them coming. We’d rather get too many tips than none at all!

The first thing we should address is the discomfort you will feel while watching the video after the break. If you’ve got any experience tearing open electronics to see what’s inside you will be physically uncomfortable watching this pair bumble through it. It makes us want to do some MST3K-style overdubbing of the video, but their content ownership claim in the description makes us sure we’d get an immediate take-down notice if we did so.

At any rate, what we have here is some really cool tech you almost certainly will not be able to get your hands on. In the image above you can see the small LCD screen to the right. It comes to life when the page is opened thanks to the sliding switch being pointed to in the image. A few television show promos will play before the device starts scrolling items from the CW Twitter feed. When the hardware is pulled out of the pages there’s some interesting tinkering to be done. Shorting the contacts on the keyboard overlay (about 8 minutes into the video) brings up an Asian-language menu which is pretty obviously Android.

This is not the first time the magazine has done something like this. CBS embedded video a few years back but we’re pretty sure that one didn’t use the full guts of a cellphone. It’s just too bad these issues are so rare (only 1000 are available in two cities) as we had a lot of fun hacking that Esquire issue with the epaper in it.

Continue reading “There’s A Friggin’ Cellphone In The Most Recent Entertainment Weekly”

Android Hack: Cracking WiFi Passwords With Your Phone

The WiFi adapter in your laptop has a special mode – monitor mode – that can be used to listen in on WiFi traffic and, with a little patience, can be used to crack a WEP password. Surprisingly, this monitor mode can’t be found on any Android device due in part to the limitations of the hardware. A group of three researchers, [Ruby], [Yuval], and [Omri], decided to spend their vacation adding monitor mode to their Android smartphones, allowing for a much more portable version of WiFi pwnage tools.

The phones used by the researchers – the Nexus One and Galaxy S II – used Broadcom chipsets that didn’t support monitor mode. To get around this limitation and allow the OS to see full 802.11 frames the team needed to reverse engineer the firmware of this Broadcom radio chip.

The team has released a firmware update for the bcm4329 and bcm4330 chipsets found in the Nexus One and Galaxy S II. The update may work for other phones with the same chipset, but don’t take our word on that.

There’s still a lot of work [Ruby], [Yuval], and [Omri] need to do. They’d like to add packet injection to their firmware hack, and of course create an APK to get this into the wild more easily.

If you have experience with kernel development and would like to help out, send the team an email. The source can be found at google code  if you’d like to play around with it.

Video Preview: New IOIO Prototype

We got our hands on this prototype of the new IOIO design. It’s a breakout board that makes adding hardware to an Android device pretty easy.  [Ytai Ben-Tsvi] sent it our way, and took a bit of time to explain some of the differences between this board and the original version. You can see our video preview embedded after the break.

The size and form factor of the board remain the same, but the choice and layout of parts has changed. Most obviously, the USB-A connector is gone, replaced by a USB mini-B micro-B connector. This makes it possible to use the board as a USB-on-the-go device, or as a USB host device with the help of an adapter that will ship with the board. The JST connector is for external power. The previous revision included a footprint for it but it was never populated. There has also been an upgrade to the voltage regulation circuit, using a newer part as the switch-mode regulator.

There was a last-minute bug discovered in the layout. [Ytai] wants iron-clad 5V to ground short protection and is re-spinning the board to ensure he achieves that goal. He can’t say for sure, but as we mentioned in our previous post about the prototype, a price cut is planned. It could cut the current price of $50 down to just $30, but that won’t be decided until all of the choices have been made for the first production run.

Continue reading “Video Preview: New IOIO Prototype”

IOIO Controller Replacement For An RC Truck

This RC truck can be controlled with the tip of your thumb or the tilt of a wrist. That’s thanks to the IOIO which was inserted in place of the toy’s original controller. [Exanko] made the hardware changes in order to use his Android phone as the controller. The white circle is a software joystick that acts as throttle when your thumb moves along the Y axis, and steering when it moves along the X axis. But while he was at it he also included accelerometer input as an alternative control option.

The IOIO board has a Bluetooth dongle connected to its USB port as a means of wireless communication. The dongle was hacked to accept an external antenna, thereby increasing the truck’s range. There is also some on-board flair like LEDs for lights and even a laser diode for… well we’re not sure what that’s for. Get a better look at the hardware internals in the clip after the break.

Continue reading “IOIO Controller Replacement For An RC Truck”

Tank Router Defends Your Pets?

The guys over at Section9 Hackerspace in Springfield, Missouri just finished building this treaded robot. Despite the juxtaposition of the cat, it really doesn’t defend anything. The project is a reconnaissance robot controlled over the network with video feedback.

The team started off with some lofty goals. They wanted to the robot to be able to climb stairs and to feature a detachable flying portion in order to get a better look at hard to reach places. Cost and complexity are cited as the reasons they ditched the idea of the flyer. The rest of the features came out much as planned. The motor controller for the treads is connected to an Arduino. This uses an Ethernet shield to connect to the WRT54G router which is also coming along for the ride. This seems a bit over-powered but it makes it easy to connect the webcam on the front (also via Ethernet).

On the software side they wrote an Android app. It controls the movement of the robot, as well as that of the camera. Of course you need to see where you’re going so they went the extra mile to include video from the webcam. Check out their show-and-tell video after the break.

Continue reading “Tank Router Defends Your Pets?”