Book Image

Intelligent Mobile Projects with TensorFlow

By : Jeff Tang
Book Image

Intelligent Mobile Projects with TensorFlow

By: Jeff Tang

Overview of this book

As a developer, you always need to keep an eye out and be ready for what will be trending soon, while also focusing on what's trending currently. So, what's better than learning about the integration of the best of both worlds, the present and the future? Artificial Intelligence (AI) is widely regarded as the next big thing after mobile, and Google's TensorFlow is the leading open source machine learning framework, the hottest branch of AI. This book covers more than 10 complete iOS, Android, and Raspberry Pi apps powered by TensorFlow and built from scratch, running all kinds of cool TensorFlow models offline on-device: from computer vision, speech and language processing to generative adversarial networks and AlphaZero-like deep reinforcement learning. You’ll learn how to use or retrain existing TensorFlow models, build your own models, and develop intelligent mobile apps running those TensorFlow models. You'll learn how to quickly build such apps with step-by-step tutorials and how to avoid many pitfalls in the process with lots of hard-earned troubleshooting tips.
Table of Contents (14 chapters)

Summary

In this chapter, we first gave an overview of different neural-style transfer methods developed since 2015. Then we showed how to train a second-generation style transfer model that's fast enough to run on mobile devices in a few seconds. After that, we covered how to use the model in both an iOS app and an Android app, built from scratch with a minimalist approach with fewer than 100 total lines of code. Finally, we talked about how to use a TensorFlow Magenta multi-style neural transfer model, which includes 26 amazing art styles in a single small model, in both iOS and Android apps.

In the next chapter, we'll explore another task deemed as intelligent when demonstrated by us humans or our best friends: to be able to recognize voice commands. Who wouldn't want our dogs to understand commands such as "sit," "come," "no," or...