Awesome
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)
<img width=40% src="images/screenshot_1.jpg" alt="App Screenshot" />