Android Yolo

Real-time object detection on Android using the YOLO network with TensorFlow
Alternatives To Android Yolo
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Tensorflow Examples42,312
5 months ago218otherJupyter Notebook
TensorFlow Tutorial and Examples for Beginners (support TF v1 & v2)
Awesome Tensorflow16,809
3 months ago30cc0-1.0
TensorFlow - A curated list of dedicated resources http://tensorflow.org
Sonnet9,5154111a month ago27March 27, 202033apache-2.0Python
TensorFlow-based neural network library
Dcgan Tensorflow6,761
2 years ago183mitJavaScript
A tensorflow implementation of "Deep Convolutional Generative Adversarial Networks"
Tensorflow Tutorials5,861
4 years ago17Jupyter Notebook
Simple tutorials using Google's TensorFlow Framework
Tensorflow_tutorials5,548
a year ago11otherJupyter Notebook
From the basics to slightly more interesting applications of Tensorflow
Cnn Text Classification Tf5,256
3 years ago110apache-2.0Python
Convolutional Neural Network for Text Classification in Tensorflow
T81_558_deep_learning5,225
15 days ago2otherJupyter Notebook
Washington University (in St. Louis) Course T81-558: Applications of Deep Neural Networks
Graph_nets5,188
73 months ago7January 29, 20205apache-2.0Python
Build Graph Nets in Tensorflow
Topdeeplearning4,901
3 years ago17mitPython
A list of popular github projects related to deep learning
Alternatives To Android Yolo
Select To Compare


Alternative Project Comparisons
Readme

TensorFlow YOLO object detection on Android



Source project

android-yolo is the first implementation of YOLO for TensorFlow on an Android device. It is compatible with Android Studio and usable out of the box. It can detect the 20 classes of objects in the Pascal VOC dataset: aeroplane, bicycle, bird, boat, bottle, bus, car, cat, chair, cow, dining table, dog, horse, motorbike, person, potted plant, sheep, sofa, train and tv/monitor. The network only outputs one predicted bounding box at a time for now. The code can and will be extended in the future to output several predictions.

To use this demo first clone the repository. Download the TensorFlow YOLO model and put it in android-yolo/app/src/main/assets. Then open the project on Android Studio. Once the project is open you can run the project on your Android device using the Run 'app' command and selecting your device.

NEW: The standalone APK has been released and you can find it here. Just open your browser on your Android device and download the APK file. When the file has been downloaded it should begin installing on your device after you grant the required permissions.

GPUs are not currently supported by TensorFlow on Android. If you have a decent Android device you will have around two frames per second of processed images.

Here is a video showing a small demo of the app.

Nataniel Ruiz
School of Interactive Computing
Georgia Institute of Technology

Credits: App launch icon made by Freepik from Flaticon is licensed by Creative Commons BY 3.0.

Disclaimer: The app is hardcoded for 20 classes and for the tiny-yolo network final output layer. You can check the following code if you want to change this:

https://github.com/natanielruiz/android-yolo/blob/master/app/src/main/java/org/tensorflow/demo/TensorflowClassifier.java

The code describes the interpretation of the output.

The code for the network inference pass is written in C++ and the output is passed to Java. The output of the network is in the form of a String which is converted to a StringTokenizer and is then converted into an array of Floats in line 87 of TensorflowClassifier.java

You can work from there and read the papers to transform the new yolo model output into something that makes sense. (I did it only for one bounding box and also obtained the confidence of this bounding box). This part of the code is commented by me so you can understand what I did. Also read the paper here: https://arxiv.org/abs/1506.02640

Popular Tensorflow Projects
Popular Network Projects
Popular Machine Learning Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Network
Tensorflow
Android Studio
Apk
Object Detection
Pascal Voc