--- license: apache-2.0 task_categories: - video-classification language: - en tags: - Sports - Cricket - Classification size_categories: - n<1K --- # CricketShotClassification Dataset ## Dataset Description This dataset is designed for video classification of cricket shots. It contains labeled videos of ten different cricket shots, making it suitable for training and evaluating machine learning models for cricket action recognition. ## Dataset Structure The dataset contains videos of ten cricket shots: | Shot Name | Label | Class ID | |---------------|------------|-----------| | Cover Drive | cover | 0 | | Defense Shot | defense | 1 | | Flick Shot | flick | 2 | | Hook Shot | hook | 3 | | Late Cut | late_cut | 4 | | Lofted Drive | lofted | 5 | | Pull Shot | pull | 6 | | Square Cut | square_cut | 7 | | Straight Drive| straight | 8 | | Sweep Shot | sweep | 9 | ### Data Splits - Train: 1,250 samples (125 per class) - Validation: 250 samples (25 per class) - Test: 250 samples (25 per class) ### Directory Structure ``` dataset/ ├── train/ │ ├── cover/ │ ├── defense/ │ ├── flick/ │ ├── hook/ │ ├── late_cut/ │ ├── lofted/ │ ├── pull/ │ ├── square_cut/ │ ├── straight/ │ └── sweep/ ├── val/ │ ├── cover/ │ ├── defense/ │ ├── flick/ │ ├── hook/ │ ├── late_cut/ │ ├── lofted/ │ ├── pull/ │ ├── square_cut/ │ ├── straight/ │ └── sweep/ └── test/ ├── cover/ ├── defense/ ├── flick/ ├── hook/ ├── late_cut/ ├── lofted/ ├── pull/ ├── square_cut/ ├── straight/ └── sweep/ ``` ## Usage ```python from datasets import load_dataset # Load the dataset from the hub dataset = load_dataset("rokmr/cricketshot") # Access different splits train_data = dataset['train'] val_data = dataset['validation'] test_data = dataset['test'] ``` ## Limitations and Bias - Limited sample size per class - May not cover all possible variations of each shot - Lighting and camera angle variations may affect model performance ## Citation If you use this dataset, please cite: ``` @misc{cricketshot, author = {Rohit Kumar}, title = {Cricket Shot Classification Dataset}, year = {2025}, publisher = {Hugging Face} } ``` ## Acknowledgements The dataset structure and initial inspiration was drawn from the [CricShot10 dataset](https://github.com/ascuet/CricShot10) We thank the authors for making their work publicly available. ## Dataset Card Contact For questions or concerns about the dataset, please contact the maintainers through the Hugging Face community platform.