Skip to content

Jamshed-karim/Android-Digit-Classifier

 
 

Repository files navigation

Digit Classifier Android sample

info

Requirements

  • Android Studio Arctic Fox(installed on a Linux, Mac or Windows machine)
  • An Android device, or an Android Emulator

Build and run

Step 1. Setup Firebase

https://firebase.google.com/docs/android/setup

Step 2. Using Custom Model

https://firebase.google.com/docs/ml/android/use-custom-models#kotlin+ktx_1

Step 3. Import the sample app to Android Studio

Open the TensorFlow source code in Android Studio. To do this, open Android Studio and select Import Projects (Gradle, Eclipse ADT, etc.), setting the folder to examples/lite/examples/digit_classifier/android

Step 4. Run the Android app

Connect the Android device to the computer and be sure to approve any ADB permission prompts that appear on your phone. Select Run -> Run app. Select the deployment target in the connected devices to the device on which the app will be installed. This will install the app on the device.

To test the app, open the app called Digit Classifier on your device. Re-installing the app may require you to uninstall the previous installations.

About

Sample android application to detect digit drawn using TensorFlow & Firebase model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 96.2%
  • Java 3.8%