Giter Club home page Giter Club logo

yolov8-android-od's Introduction

ONNX Runtime Mobile Object Detection Android sample application with Ort-Extensions support for pre/post processing

Overview

This is a basic Object Detection sample application for ONNX Runtime on Android. The demo app accomplishes the task of detecting objects from a given image.

The model (Yolov8*) can be fed with image bytes directly and outputs the detected objects with bounding boxes.

Requirements

  • Android Studio Dolphin | Android Studio Electric Eel | 2022.1.1 Patch 2+ (installed on Mac/Windows/Linux)
  • Android SDK 29+
  • Android NDK r22+
  • An Android device or an Android Emulator

Steps to build and run

Step 1: Clone the ONNX runtime mobile examples source code

Clone this repository to get the sample application. Then open the project under the folder mobile\examples\object_detection\android.

Step 2: Prepare the model

  • The model used is under mobile\examples\object_detection\android\app\src\main\res\raw.

Step 3: Connect Android Device and Run the app

Connect your Android Device to your computer or select the Android Emulator in Android Studio Device Manager.

Then select Run -> Run app and this will prompt the app to be built and installed on your device or emulator.

Now you can try and test the object detection Android app by clicking the perform action button. Try to click the button multiple times to see the different results.

Here are some sample example screenshots of the app.

App Screenshot 1

App Screenshot 2

yolov8-android-od's People

Contributors

ramlaxmangroup avatar ua741 avatar mausam-office avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.