Skip to content

Commit

Permalink
Merge pull request #1222 from ayan-joshi/main
Browse files Browse the repository at this point in the history
Cricket Shots Deep Learning Model
  • Loading branch information
sanjay-kv authored Sep 24, 2024
2 parents 54a78d9 + cbdaa64 commit 15a9c7d
Show file tree
Hide file tree
Showing 11 changed files with 1,245 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# <h1 align = "center"> Cricket Shots Deep Learning Model</h1>
## Aim of the project:
### The project focuses on classification of different cricket shots using various Deep Learning Algorithms.

## Deep Learning Algorithms used:
1. ResNet
2. DenseNet
3. InceptionNet
4. EfficientNet

### Libraries and Frameworks used:
1. Pandas
2. Numpy
3. Matplotlib
4. Seaborn
5. Tensorflow
6. Keras
7. sklearn
8. glob
9. OpenCV

## Accuracy and training time comparison of all the Deep Learning Algorithms
| | Accuracy |
|--------------------|---------------|
| ResNet | 86% |
| DenseNet | 92% |
| InceptionNet | 96% |
| EfficientNet | 95% |

# Representation of different cricket shots
![EDA](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/eda_cric.png)

# Bar plot of counts of each shot in the dataset
![values](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/bar.png)

# Pie chart for the distribution of shots in the dataset
![ri](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/pie%20chart.png)


# Accuracy and plots of all models

## InceptionNetV2
![inv2](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/inception.png)

## DenseNet
![densenet](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/dense.png)

## ResNet50
![resnet](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/resnet.png)

## EfficientNet
![effnet](https://github.com/the-silent-geek/DL-Simplified/blob/2e8e0b207bd08e758fca8e93d5433c73f277ef1e/Cricket%20Shots%20Detection/images/efficient.png)


# Conclusion
InceptionNet model performs better comparative to other models used on the above dataset.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Dataset

The dataset used in this project is take from the Kaggle website.
<br>
<b>Dataset Link:- https://www.kaggle.com/datasets/aneesh10/cricket-shot-dataset</b>
<br>

<br>
1. The directory drives consists of the cover drive, straight drive and off drive.
<br>
2. The directory legglance-flick contains the images for the leg glance and flick shot.
<br>
3. The directory pullshot has the images for pull shot.
<br>
4. The directory sweep has the image for sweep shot.
<br>



Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pandas
numpy
matplotlib
glob
tensorflow
opencv
scikit-learn
seaborn
glob

0 comments on commit 15a9c7d

Please sign in to comment.