Back to projects

Analysing Cricket: Shot Recognition & Similarity

Ritik Bompilwar

2024 · Video understanding
Cricket Shot Recognition
GitHub

Overview

This project classifies cricket batting shots from video into distinct categories and explores the similarities between them. A CNN-based EfficientNet feature extractor is applied in a time-distributed block to preserve temporal information across frames, condensed by global average pooling, then passed to GRU units that capture motion and sequence before dense softmax classification. Beyond labels, features from the convolutional block are mapped to compact vectors and compared by cosine distance to measure shot-to-shot similarity.

Evaluation

BackboneTest acc.PrecisionRecallF1
EfficientNetB094%94%94%94%
EfficientNetV2B081%82%81%81%
EfficientNetB474%75%74%74%

The EfficientNetB0 backbone led at 94% test accuracy. A genetic-algorithm hyperparameter search (tournament selection over learning rate and epochs, with a stagnation limit to prevent overfitting and conserve compute) was used to tune the models.