Giter VIP home page Giter VIP logo

android-app-for-object-detection's Introduction

Android-App-for-Object-Detection

This project is about develop an application using OpenCV & Neural Networks with object detection goal in mind (TinyYOLOv3 in particular).

Getting Started

Well, the project already started with a basic version off the app made. Which is just an .apk that uses the camera, and with its one button, when pressed; processes the frames using yolov3-tiny.

Detection with Smartphone Camera

You can use the files given down below to make a project in Android Studio and run the app on your mobile phone.

If you want to compile the project yourself aswell, there is one preprocess step you need to do.

  • Make a folder called "dnns" in the internal storage (Not SD Card) of your phone.
  • Download the "yolov3-tiny.cfg" and "yolov3-tiny.weights" files from the github repository.
  • Copy the files you downloaded into the file "dnns" you made in your phone.

The files for the object detector is added here. This is just the whole Android Studio Project; if you are just focused to the important trio, i got you covered; you can find them down below.

activitymain.xml

MainActivity.java

AndroidManifest.xml

OpenCV347 library is implemented for the functions that are used in the mainactivity.java.

For this code and the tutorial, all credit goes to wonderful: Ivan Goncharov.

In the development process, I am currently working on sensor data implementation (accelerometer to be specific), to the detector, to improve performance of object detection. (Which is my senior design project by the way =) )

Detection on a Custom Dataset

For my graduation project, i've recorded videos around my university campus to evaluate results of TinyYolov3. The database of 19 videos can be found here.

A basic MATLAB routine to access the frames from all the videos after download can be found here.

The results from three videos can be seen in the gifs below.

In addition; for Precision & Recall & F1 Score plots of YOLOv3 and TinyYOLOv3 you can contact me via email.

Help, I'm Stuck!

For any questions regarding on how to use the app, feel free to contact Sezai from the mail.

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.