This post is a follow-up to my last post: A Taste of TensorFlow on My Android Phone.
You could download my compiled Apk file here and install on your android device (>Android 7.0) (22-May-2018).
Update: 25-May-2018, fixed the bug of object tracking function in TF Detect. PS: While running the activities, pressing the volume keys on your device will
toggle debug visualizations on/off, rendering additional info to the screen that
may be useful for development purposes.
- tensorflow_demo_debug.apk (My compiled version: 4 Apps ~ 109.8 MB );
- TfLiteCameraDemo.apk (official version: 1 App ~ 20.05 MB).
Feel free to let me know if there are any bugs 🙂
In the last post, I just tried the TensorFlow for object classification (TF Classify). This time I installed all four demos of the TensorFlow Mobile for Android according to this tutorial: TensorFlow Lite Demo for Android. They are awesome 😛
Let see two photos of my desk, the TF Detect App find out my keyboard, laptop, mouse, coffee cup and my “TVs” :).
Here is another photo about detecting cars on the street. I know It is not perfect now but it is a good start!
Here are the examples of TF Classify, TF Stylize, and TF Speech.
Here are more screen captures from my XIAOMI 4c Phone：
This is the introduction from the official documentation:
The TensorFlow Lite demo is a camera app that continuously classifies whatever it sees from your device’s back camera, using a quantized MobileNet model.
You’ll need an Android device running Android 5.0 or higher to run the demo.
To get you started working with TensorFlow Lite on Android, we’ll walk you through building and deploying our TensorFlow demo app in Android Studio.
#1. TF Classify uses the Inception v3 model to label the objects it’s pointed at with classes from Imagenet.
#2. TF Detect uses a multi-box model to try to draw bounding boxes around the locations of people in the camera.
#3. TF Stylize implements a real-time style transfer algorithm on the camera feed. You can select which styles to use and mix between them using the palette at the bottom of the screen, and also switch out the resolution of the processing to go higher or lower rez.
#4. TF Speech recognizes few words from the mic.
I will upload the apk files later ~ Cheers!