Code Monkey home page Code Monkey logo

sports-type-classifier's Introduction

22 Types of Sports Classification

Following are the types of sports over which we are trying to classifying:

  • Swimming
  • Badminton
  • Wrestling
  • Olympic Shooting
  • Cricket
  • Football
  • Tennis
  • Hockey
  • Ice Hockey
  • Kabaddi
  • WWE
  • Gymnasium
  • Weight lifting
  • Volleyball
  • Table tennis
  • Baseball
  • Formula 1
  • Moto GP
  • Chess
  • Boxing
  • Fencing
  • Basketball

Sports Type

Data Distribution

Data has been downloaded with the help of gi2ds

Training set: 11524

Validation set: 2881

Model

Resnet-50

Data Augmentations

The following data augmentation has been applied to increase the no of images in the training set

  1. Flip horizontal
  2. Lighting
  3. Zooming
  4. Warping

Data Augmentations

Confusion Matrix

Confusion matrix

Pair of confused categories with minimum value of 2

[('motogp', 'formula1', 5),

('badminton', 'tennis', 4),

('weight_lifting', 'wrestling', 3),

('wrestling', 'wwe', 3),

('badminton', 'table_tennis', 2),

('basketball', 'volleyball', 2),

('boxing', 'wrestling', 2),

('hockey', 'ice_hockey', 2),

('kabaddi', 'hockey', 2),

('tennis', 'table_tennis', 2),

('weight_lifting', 'wwe', 2),

('wrestling', 'kabaddi', 2)]

Sample Images from the confused categories:

For some images you can see the prediction is correct but the manual labelling was done wrong. This shows the CNN are less susceptible to human mistakes.

Sample Images

Accuracy

The accuracy obtained is 97%

Accuracy

Heatmap

Original Image

Original

After Heatmap

Heatmap

sports-type-classifier's People

Contributors

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