Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- video-classification
|
| 5 |
+
- image-classification
|
| 6 |
+
tags:
|
| 7 |
+
- boxing
|
| 8 |
+
- sports
|
| 9 |
+
- action-recognition
|
| 10 |
+
- punch-detection
|
| 11 |
+
- computer-vision
|
| 12 |
+
- qwen
|
| 13 |
+
- vision-llm
|
| 14 |
+
- fine-tuning
|
| 15 |
+
pretty_name: Boxing Punch Classification Video Dataset
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# Boxing Punch Classification Video Dataset
|
| 21 |
+
|
| 22 |
+
Short video clips of boxing punches, labeled for training vision language models.
|
| 23 |
+
|
| 24 |
+
## Dataset Description
|
| 25 |
+
|
| 26 |
+
This dataset contains 2278 short video clips extracted from Olympic boxing competition footage,
|
| 27 |
+
each labeled with one of 8 punch/action categories. The clips are designed for fine-tuning
|
| 28 |
+
vision LLMs like Qwen-VL for boxing action recognition.
|
| 29 |
+
|
| 30 |
+
### Source
|
| 31 |
+
|
| 32 |
+
Derived from the [Olympic Boxing Punch Classification Video Dataset](https://www.kaggle.com/datasets/piotrstefaskiue/olympic-boxing-punch-classification-video-dataset)
|
| 33 |
+
by Piotr Stefański et al. Original recordings from a 2021 boxing league competition.
|
| 34 |
+
|
| 35 |
+
## Labels
|
| 36 |
+
|
| 37 |
+
| Label | Count |
|
| 38 |
+
|-------|-------|
|
| 39 |
+
| head_left_hand | 807 |
|
| 40 |
+
| head_right_hand | 390 |
|
| 41 |
+
| miss_left_hand | 387 |
|
| 42 |
+
| miss_right_hand | 209 |
|
| 43 |
+
| block_left_hand | 190 |
|
| 44 |
+
| body_left_hand | 111 |
|
| 45 |
+
| block_right_hand | 96 |
|
| 46 |
+
| body_right_hand | 88 |
|
| 47 |
+
|
| 48 |
+
**Total clips:** 2278
|
| 49 |
+
**Total duration:** 1562.9 seconds
|
| 50 |
+
|
| 51 |
+
## Dataset Structure
|
| 52 |
+
|
| 53 |
+
Each entry contains:
|
| 54 |
+
- `file_name`: Path to the video clip (.mp4)
|
| 55 |
+
- `label`: Action category (English)
|
| 56 |
+
- `start_time` / `end_time`: Timestamps in the source video
|
| 57 |
+
- `duration`: Clip length in seconds
|
| 58 |
+
- `source_video`: Original video filename
|
| 59 |
+
- `fps`: Frames per second
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from datasets import load_dataset
|
| 65 |
+
|
| 66 |
+
ds = load_dataset("NealBeans/BoxingDataset")
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
### For Qwen-VL Fine-tuning
|
| 70 |
+
|
| 71 |
+
```python
|
| 72 |
+
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
|
| 73 |
+
|
| 74 |
+
model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
|
| 75 |
+
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
|
| 76 |
+
|
| 77 |
+
# Each clip can be used as video input with its label as the target
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
## License
|
| 81 |
+
|
| 82 |
+
This dataset is derived from research data and is for non-commercial/academic use only.
|
| 83 |
+
See the original dataset for full license terms.
|
| 84 |
+
|
| 85 |
+
## Citation
|
| 86 |
+
|
| 87 |
+
If you use this dataset, please cite the original research:
|
| 88 |
+
|
| 89 |
+
```bibtex
|
| 90 |
+
@article{stefanski2024boxing,
|
| 91 |
+
title={Boxing Punch Detection with Single Static Camera},
|
| 92 |
+
author={Stefa{\n}ski, Piotr and Kozak, Jan and Jach, Tomasz},
|
| 93 |
+
journal={Entropy},
|
| 94 |
+
volume={26},
|
| 95 |
+
number={8},
|
| 96 |
+
pages={617},
|
| 97 |
+
year={2024}
|
| 98 |
+
}
|
| 99 |
+
```
|