Hands-On Artificial Intelligence for Android: Understand Machine Learning and Unleash the Power of TensorFlow in Android Applications with Google ML Kit

  • 4h 29m
  • Vasco Correia Veloso
  • BPB Publications
  • 2022

This book features techniques and real implementations of machine learning applications on Android phones. This the book covers various developer tools, including TensorFlow and Google ML Kit.

The book begins with a quick review of android application development fundamentals and a couple of Java and Kotlin implementations developed using the Android Studio integrated development environment. The book explores TensorFlow Lite and Google ML Kit, along with some of the most widely used machine learning techniques. The book covers real projects on TensorFlow, demonstrates how to collect photos with Camera X, and preprocess them with the Google ML Kit. It explains how to onboard the power of machine learning in Android applications that detect images, identify faces, and apply effects to photographs, among other things. These applications are constructed on top of TensorFlow models – some of which were created and trained by the reader – and then converted to TensorFlow Lite for mobile applications.

After reading the book, the reader will be able to apply machine learning techniques to create Android applications and take their applications to the next level. This book can be a successful tool to deep dive into Data Science for all mobile programmers.

What you will learn

  • Get well-versed with Android Development and the fundamentals of AI.
  • Learn to set up the ML environment with hands-on knowledge of TensorFlow.
  • Build, train, and evaluate Machine Learning models.
  • Practice ML by working on real face verification and identification applications.
  • Explore cutting-edge models such as GAN and RNN in detail.
  • Experience the use of CameraX, SQLite, and Google ML Kit on Android.

Who this book is for

This book is intended for android developers, application engineers, machine learning engineers, and anybody interested in infusing intelligent, inventive, and smart features into mobile phones. Readers should have a basic understanding of the Java programming language.

About the Author

Vasco Correia Veloso has been developing software for over 20 years. From assembly to Java and Kotlin, on big and small computers, from floppy disks to SSDs, on-premises, and cloud, he’s been there and done that. He loves to learn how things work and tell others what he finds. The field of AI has spiked his curiosity since HAL 9000 appeared on the silver screen.

LinkedIn Profile: Vasco Correia Veloso

Blog Link: https://www.infoq.com/profile/Vasco-Veloso/, https://medium.com/@vasco-veloso

In this Book

  • Building an Application with Android Studio and Java
  • Event Handling and Intents in Android
  • Building Our Base Application with Kotlin and SQLite
  • An Overview of Artificial Intelligence and Machine Learning
  • Introduction to TensorFlow
  • Training a Model for Image Recognition with TensorFlow
  • Android Camera Image Capture with CameraX
  • Using the Image Recognition Model in an Android Application
  • Detecting Faces with the Google ML Kit
  • Verifying Faces in Android with TensorFlow Lite
  • Registering Faces in the Application
  • Image Processing with Generative Adversarial Networks
  • Describing Images with NLP