Skip to content

リアルタイムなゴミ分別支援アプリです - Android YOLO real time garbage detection and classification smartphone application with Tensorflow mobile.

License

Notifications You must be signed in to change notification settings

keides2/android-yolo-v2

 
 

Repository files navigation

ごみ分別スマホアプリ

ごみ検出イメージです

動画

movie

静止画

pp, cell

tape, tape

ごみ3, ごみ4

ごみ2, ごみ5

ごみ1,

APKファイルはこちらからダウンロードできます

※ 検出できるごみは、下のファイルに記載の物になります。

https://github.com/keides2/android-yolo-v2/blob/master/assets/tiny-yolo-voc-labels.txt


以下は、ベースとなった Zoltán Szabó さんの README です。 https://github.com/szaza/android-yolo-v2

Android YOLO with TensorFlow Mobile

This android application uses YOLOv2 model for object detection. It uses tensorflow mobile to run neural networks. I would like to use tensorflow lite later. Probably, it is the first open source implementation of the second version of YOLO for Tensorflow on Android device. The demo application detects 20 classes of Pascal VOC dataset. Please read this paper for more information about the YOLOv2 model: YOLO9000 Better, Faster, Stronger.

Train YOLO for your own dataset

Please find more information about retraining the model on my site: https://sites.google.com/view/tensorflow-example-java-api/complete-guide-to-train-yolo. I've also added several Google Colab interactive sample for the step-by-step tutorial, so the training process can be tried out on Google virtual machines.

Steps to compile and run the application:

Prerequirements:

  • Install the Android Studio;
  • Android 6.0 (API level 23) or higher is required to run the demo application due to usage of Camera2 API;

Compile and run the project:

  • Clone this repository with command: git clone https://github.com/szaza/android-yolo-v2.git;
  • Imort your project into the Android Studio;
  • Optional: put your protobuff file and labels.txt into the assets folder, then change the settings properly in the Config.java file;
  • Run the project from Android Studio;

How it works?

android yolo v2 sample image android yolo v2 sample image

If you would like a more accurate solution, create a server application. See my related projects here:

About

リアルタイムなゴミ分別支援アプリです - Android YOLO real time garbage detection and classification smartphone application with Tensorflow mobile.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 80.4%
  • Java 10.3%
  • Python 6.0%
  • CSS 1.9%
  • Shell 1.3%
  • JavaScript 0.1%