Giter Club home page Giter Club logo

sg-food-ml's Introduction

sg-food-ml

This script is used to scrap images from the Internet to classify 5 common noodle "mee" dishes in Singapore. Wanton Mee, Bak Chor Mee, Lor Mee, Prawn Mee and Mee Siam.

After scraping, the script will automatically upload the images to the indicated Google Cloud Storage bucket and import them into the AutoML dataset. It will then automatically create a new model (train the dataset) which will take a while.

I have written an article to explain in detail how this script works.

Prediction

In order to make prediction programatically, I have included the predict.py script. To execute the script, run the following command

python predict.py <path of image we will like to receive>

Limitations

  1. At this point of time, the scraper can only scrap 100 images per keyword. In order to scrap more than 100 images, you will need to install Selenium driver along with chromedriver. We are using [google-images-download] (https://help.github.com/articles/basic-writing-and-formatting-syntax/#links) under the hoods, so you can refer to their Github page on how to do so.

  2. Currently, I haven't automated the logic to automatically create a new bucket on Google Cloud Storage, you will need to manually create your own bucket.

sg-food-ml's People

Contributors

dtcarrot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rkirlew

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.