Although the TensorFlow Android example app already has code that uses the multi-style model (actually we used the model from the Android example app in our iOS app in the previous section), the TensorFlow-related code in the example app is mixed with a lot of UI code in the over 600-line StylizeActivity.java file. There's also a Codelab for TensorFlow Android Style Transfer (https://codelabs.developers.google.com/codelabs/tensorflow-style-transfer-android/index.html) you can go through, but the code there is about the same as the TensorFlow Android example app. Since we already have a minimalist implementation of an Android app using a TensorFlow fast-style transfer model, it'd be ...
Using the TensorFlow Magenta multi-style model in Android
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.