Giter Site home page Giter Site logo

fruitdetection's Introduction

Fruit Counter

A web application that identifies oranges and other fruits based on Faster R-CNN model using TensorFlow object detection API.

Demo

App Demo Video

Getting Started

Prerequisites

To run this app, please make sure your environment has the following components installed:

  • Python 3.6
  • TensorFlow 1.13.1+

Installation

Clone TensorFlow models library to your local project directory.

YOUR_PROJECT_DIR
└── models

Clone all items in app folder

THIS_PROJECT
└── app
    ├── server.py         // web server
    ├── tfprocess.py      // TensorFlow functions
    ├── html
    |   └── index.html    // app front-end
    ├── static
    |   ├── css
    |   |   └── style.css
    |   └── js
    |       └── index.js  // app functions
    └── utils
        └── visualization_utils.py

to models/research/object_detection.

YOUR_PROJECT_DIR
└── models
    └── research
        └── object_detection
            └── COPY_ALL_APP_ITEMS_HERE

Starting the server

$ cd DIR_TO_YOUR_PROJECT/models/research/object_detection
$ python3 server.py

Usage

  • Open a web browser and visit http://localhost:5000/
  • Click orange camera button to take a photo via camera or from local gallery
  • Upload it by clicking blue upload button
  • Wait for the result to be displayed

External Libraries

Note

This app was developed for COMP90055 Computing Project supervised by Prof. Richard Sinnott.

Authors of the project are:

  • Huaqing Yu
  • Shining Song
  • Shaoxi Ma

fruitdetection's People

Contributors

harryhpxs avatar kartoro 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.