guoyu-wang / ort_image_classification_android

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Kotlin 100.0%