Intelligent Mobile Projects with TensorFlow: Build 10+ Artificial Intelligence apps using TensorFlow Mobile and Lite for iOS, Android, and Raspberry Pi

Jeff Tang



Create Deep Learning and Reinforcement Learning apps for multiple platforms with TensorFlow

Key Features

  • Build TensorFlow-powered AI applications for mobile and embedded devices
  • Learn modern AI topics such as computer vision, NLP, and deep reinforcement learning
  • Get practical insights and exclusive working code not available in the TensorFlow documentation

Book Description

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.

What you will learn

  • Classify images with transfer learning
  • Detect objects and their locations
  • Transform pictures with amazing art styles
  • Understand simple speech commands
  • Describe images in natural language
  • Recognize drawing with Convolutional Neural Network and Long Short-Term Memory
  • Predict stock price with Recurrent Neural Network in TensorFlow and Keras
  • Generate and enhance images with generative adversarial networks
  • Build AlphaZero-like mobile game app in TensorFlow and Keras
  • Use TensorFlow Lite and Core ML on mobile
  • Develop TensorFlow apps on Raspberry Pi that can move, see, listen, speak, and learn

Who This Book Is For

If you're an iOS/Android developer interested in building and retraining others' TensorFlow models and running them in your mobile apps, or if you're a TensorFlow developer and want to run your new and amazing TensorFlow models on mobile devices, this book is for you. You'll also benefit from this book if you're interested in TensorFlow Lite, Core ML, or TensorFlow on Raspberry Pi.

Table of Contents

  1. Getting Started with Mobile TensorFlow
  2. Recognizing Dog Breed or Flower Type
  3. Detecting Objects and their Locations
  4. Transforming Pictures with Amazing Art Styles
  5. Understanding Simple Speech Commands
  6. Describing Images in Natural Language
  7. Generating Natural Sounding Speech
  8. Classifying and Summarizing Text
  9. Performing Machine Translation from English to French
  10. Predicting House and Stock Prices
  11. Building AlphaGo-like Chess App
  12. Seeing, Listening, Speaking and Learning on Raspberry Pi



- 使用TensorFlow在移動和嵌入式設備上構建AI應用程式
- 學習現代AI主題,如計算機視覺、自然語言處理和深度強化學習
- 獲取實用的見解和獨家的工作代碼,這些在TensorFlow文檔中無法找到

作為開發人員,您始終需要關注並準備好即將成為趨勢的事物,同時也要關注當前的趨勢。那麼,有什麼比學習將兩者的最佳結合,即現在和未來,更好的呢?人工智能(AI)被廣泛認為是繼移動之後的下一個大事,而Google的TensorFlow則是領先的開源機器學習框架,也是AI的最熱門分支。本書涵蓋了10多個完整的iOS、Android和Raspberry Pi應用程式,這些應用程式由TensorFlow提供動力,從頭開始構建,可以在設備上離線運行各種酷炫的TensorFlow模型,包括計算機視覺、語音和語言處理,以及生成對抗網絡和類似AlphaZero的深度強化學習。您將學習如何使用或重新訓練現有的TensorFlow模型,構建自己的模型,並開發運行這些TensorFlow模型的智能移動應用程式。您將通過逐步教程快速構建此類應用程式,並通過許多寶貴的疑難排解提示避免許多問題。

- 使用轉移學習對圖像進行分類
- 檢測物體及其位置
- 使用驚人的藝術風格轉換圖片
- 理解簡單的語音命令
- 用自然語言描述圖像
- 使用卷積神經網絡和長短期記憶來識別繪畫
- 使用TensorFlow和Keras中的循環神經網絡預測股票價格
- 使用生成對抗網絡生成和增強圖像
- 在TensorFlow和Keras中構建類似AlphaZero的移動遊戲應用程式
- 在移動設備上使用TensorFlow Lite和Core ML
- 在Raspberry Pi上開發可以移動、看、聽、說和學習的TensorFlow應用程式

- iOS/Android開發人員,有興趣構建和重新訓練他人的TensorFlow模型並在移動應用程式中運行它們
- TensorFlow開發人員,希望在移動設備上運行新的和令人驚嘆的TensorFlow模型
- 對TensorFlow Lite、Core ML或Raspberry Pi上的TensorFlow感興趣的讀者

1. 開始使用移動TensorFlow
2. 識別狗品種或花卉類型
3. 檢測物體及其位置
4. 使用驚人的藝術風格轉換圖片
5. 理解簡單的語音命令
6. 用自然語言描述圖像
7. 生成自然聲音的語音
8. 分類和總結文本
9. 從英文翻譯成法文
10. 預測房價和股票價格
11. 構建類似AlphaGo的國際象棋應用程式
12. 在Raspberry Pi上看、聽、說和學習