Code Monkey home page Code Monkey logo

logo-classifier's Introduction

Logo-Classifier

Logo Classifier is using Pytorch model to classify logos The supported logos are Adidas, Aldi, Apple, Becks, BMW, Carlsberg, Chimay, Coca-Cola, Corona, DHL, Erdinger, Esso, Fedex, Ferrari, Ford, Foster's, Google, Guiness, Heineken, HP, Milka, Nvidia, Paulaner, Pepsi, Ritter Sport, Shell, Singha, Starbucks, Stella Artois, Texaco, Tsingtao and UPS or No Logo if there is no logo exists.

Data

FlickrLogos32 Collected logos of 32 different logo brands from Flickr. All logos have an approximately planar surface.

Screenshot

Training

Pretrained resnet152 was used as a starting point. 0.8 of the data is used in training, 0.1 for validation and 0.1 for testing Logo_Classifier.ipynb shows the progress of the training and how we did it.

Usage

Cloud app

To use our application you just need to enter to the web app and upload your image file and it will tell you the prediction and confidence. The web app is deployed on Heroku.

Run locally

Because of memory imitations Heroku app can be down, in this case you can run the app locally.

  • Clone the repo git clone https://github.com/DavidAshraf/Logo-Classifier

  • install dependencies, go to "web app" directory and run this command from pip3 install -r requirements.txt

  • download the model in the same directory "web app"

  • run the app python3 logo-classifier.py

Credits

We would like to thank Christian Eggert for providing us with the dataset

License

MIT

logo-classifier's People

Contributors

davidashraf avatar mohshawky5193 avatar

Watchers

 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.