Giter VIP home page Giter VIP logo

ingredient-detector's Introduction

Ingredient Detector


File Structure

The files/directories which you will need to edit are bolded, and the files you may need to edit are italicized. DO NOT TOUCH OTHER FILES.

  • .gitignore
  • Dockerfile
  • READMD.md
  • app/
    • ai.py
    • main.py
    • requirements.txt
    • utils.py
    • uwsgi.ini
    • images/
    • static/
      • images/
      • Home.css
      • Results.css
      • jquery.js
      • nicepage.css
      • nicepage.js
    • templates/
      • home.html
      • results.html
    • yolo/
      • weights_location
      • yolo.cfg
      • yolo.names
      • yolo.weights <- you will need to upload this yourself after cloning the repo when testing locally

ai.py

Contains functions used by main.py for working with opencv and running the model on uploaded images.

main.py

Contains the main flask app itself.

requirements.txt

Contains list of packages and modules required to run the flask app. Edit only if you are using additional packages that need to be pip installed in order to run the project.

static/

Contains the static images, CSS, & JS files used by the flask app for the webpage. Home.css is for the landing page, Results.css is for the landing page. Place all your images used for your website in static/images/.

templates/

Contains the HTML pages used for the webpage. Edit these to fit your project. home.html is the landing page, results.html is the result page after uploading the image.

yolo/

Contains info for yolo. Edit yolo.cfg according to the yolov3 darknet instructions. Edit yolo.names according to your labels for your project's objects. In order to test the flask app locally, you also need to put your model weights file in this directory and name it as yolo.weights.

Files used for deployment

Dockerfile uwsgi.ini Do not touch these files.

ingredient-detector's People

Contributors

riotonzuk avatar neverabsolute avatar

Stargazers

 avatar Ishaan avatar Pedro Gronda Garrigues avatar Neev Mangal avatar

Watchers

 avatar Ishaan 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.