Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Augmented Reality for Android Application Development

You're reading from  Augmented Reality for Android Application Development

Product type Book
Published in Nov 2013
Publisher Packt
ISBN-13 9781782168553
Pages 134 pages
Edition 1st Edition
Languages

Simple gesture recognition using accelerometers


In Chapter 4, Locating in the World, you were introduced to the various sensors that are built into the typical Android device. You learned how to use them to derive the orientation of your device. However, there is much more you can do with those sensors, specifically accelerometers. If you have ever played Wii games, you were surely fascinated by the natural interaction you could achieve by waving the Wiimote around (for example, when playing a tennis or golf Wii game). Interestingly, the Wiimote uses similar accelerometers to many Android smartphones, so you can actually implement similar interaction methods as with the Wiimote. For complex 3D-motion gestures (such as drawing a figure eight in the air), you will need either some machine learning background or access to use libraries such as the one at the following link: http://www.dfki.de/~rnessel/tools/gesture_recognition/gesture_recognition.html. However, if you only want to recognize...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime}