Skip to content

An Android image classification app using Onnx Runtime Mobile and MobileNet V1

License

Notifications You must be signed in to change notification settings

guoyu-wang/ort_image_classification_android

Repository files navigation

An Android image classification app using Onnx Runtime Mobile and MobileNet V1

This example is loosely based on Google CodeLabs - Getting Started with CameraX

Build Instructions

Requirements

  • Android SDK 29+
  • Android NDK r21+

Download the MobileNet V1 model, label file and prebuilt Onnx Runtime arm64 AAR package here

Copy MobileNet V1 model and the label file to app/src/main/res/raw/

Copy the onnxruntime-release-1.7.0.aar to app/libs

[Optional]Build the Onnx Runtime for Android arm64 (see Build Instruction)

App Screenshot

About

An Android image classification app using Onnx Runtime Mobile and MobileNet V1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages