Using fast neural-style transfer models in Android

In Chapter 2, Classifying Images with Transfer Learning, we described how to add TensorFlow to your own Android app, but without any UI. Let's create a new Android app to use the fast-style transfer models we trained earlier and used in iOS.

Because this Android app offers a good opportunity to use the minimal TensorFlow-related code and Android UI and threaded code to run a complete TensorFlow model-powered app, we'll go through each line of the code added from scratch to help you further understand what it takes to develop an Android TensorFlow app from scratch:

  1. In Android Studio, select File | New | New Project... and enter FastNeuralTransfer as the Application Name; accept all the defaults ...

Get Intelligent Mobile Projects with TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.