Using TensorFlow Lite in Android

For simplicity, we'll just show how to add TensorFlow Lite with a prebuilt TensorFlow Lite MobileNet model in a new Android app, uncovering some helpful tips along the way. There's an example Android app using TensorFlow Lite that you may want to run with Android Studio first (https://www.tensorflow.org/mobile/tflite/demo_android), on an Android device with an API Level of at least 15 (version at least 4.0.3), before going through the following steps to use TensorFlow Lite in a new Android app. If you successfully build and run the demo app, you should be able to see the recognized objects by the device camera and the TensorFlow Lite MobileNet model, when you move around your Android device.

Now perform the ...

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.