Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Steering Anki Overdrive Cars via Kinect and Bluemix

DZone's Guide to

Steering Anki Overdrive Cars via Kinect and Bluemix

I’ve open sourced a sample showing how to steer Anki Overdrive cars via Kinect and IBM Bluemix. Read on to learn more.

· Cloud Zone
Free Resource

Download this eBook outlining the critical components of success for SaaS companies - and the new rules you need to play by.  Brought to you in partnership with NuoDB.

I’ve open sourced a sample showing how to steer Anki Overdrive cars via Kinect and IBM Bluemix. The sample requires the Node.js controller and MQTT interface that I had open sourced previously. The sample is another alternative showing how to send commands to the cars in addition to Watson speech recognition.

Check out the project on GitHub.

The project contains sample code that shows how to send MQTT commands to IBM Bluemix when "buttons" are pressed via Kinect. For example, buttons are pressed when you move hands over them and wait for two seconds. The project is configured so that this only works when hands are between 50 cm and 1,00 m away from the Kinect. The distance is measured via the Kinect depth sensor.

The left picture shows the depth information, the right picture is an RGB image.

kinect-not-pressed

When a hand is moved above a button, the state of the button changes to "pressed" and if the hand is still above the button two seconds later, the appropriate action is invoked.

kinect-pressed

Here is a picture of me driving the cars via Kinect.

Image title


Learn how moving from a traditional, on-premises delivery model to a cloud-based, software-as-a-service (SaaS) strategy is a high-stakes, bet-the-company game for independent software vendors. Brought to you in partnership with NuoDB.

Topics:
ibm bluemix ,kinect ,cloud ,iot

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}