GithubHelp home page GithubHelp logo

logo-detection-and-classification-of-football-clubs's Introduction

Football Club Logo Detection and Classification

Dataset:

The dataset consists of a total of 300 images. 50 images per class. The classes are:

  1. Barcelona
  2. Real Madrid
  3. Manchester United
  4. Borussia Dortmund
  5. Inter Milan
  6. Chelsea

Images souce: Google

Data processing:

The model takes image of a fixed dimension. The image_Preprocessing.py file resizes each image to 224X224 dimensions. It converts the dataset to a numpy array and saves it in data.npy file. It also generates a labels.npy file consisting of target labels for each image in the dataset.

Model:

The model makes use of the MobileNet_v2 architecture trained on the ImageNet dataset. The MobileNet_v2 model is smaller compared to other models. This helps in ease of training and the model can be used in android applications due to its relatively smaller size. The Dense layer of the model is replaced by our custom dense layer to classify 6 classes. The classifierLogo.ipynb generates a model.h5 file which cotains the trained model.

Prediction:

The prediction.py file takes in images of club logos as input, resizes it to 224X224 to feed it to the trained model and outputs the target logo present in the image. The extra_images folder consists of some additional images for testing the model.

logo-detection-and-classification-of-football-clubs's People

Contributors

ardehnus 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.