cloud-annotations / object-detection-android

📱 Custom Object Detection with TensorFlow Lite (not Real-Time)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object Detection Android App

You can find an in depth walkthrough for training a TensorFlow lite model here.

Setup

git clone the repo and cd into it by running the following command:

git clone https://github.com/cloud-annotations/object-detection-android.git
cd object-detection-android

Install Android Studio

The recommended way to develop applications for Android is by using Android Studio, which can be downloaded here

Open the project with Android Studio

Launch Android Studio and choose Open an existing Android Studio project

In the file selector, choose object-detection-android.

You will get a Gradle Sync popup, the first time you open the project, asking about using gradle wrapper. Click OK.

Set up an Android device

You can't load the app from android studio onto your phone unless you activate developer mode and USB Debugging. This is a one time setup process.

Follow these instructions.

Add your model files to the project

Copy the model_android directory generated from the classification walkthrough and paste it into the object-detection-android/app/src/main/assets folder of this repo.

Run the app

In Android Studio run a Gradle sync so the build system can find your files.

Then hit play to start the build and install process.

About

📱 Custom Object Detection with TensorFlow Lite (not Real-Time)

License:MIT License


Languages

Language:Java 92.5%Language:Starlark 7.5%