Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,3 +20,74 @@ dataset_info:
|
|
| 20 |
download_size: 1928580946
|
| 21 |
dataset_size: 1928709371
|
| 22 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
download_size: 1928580946
|
| 21 |
dataset_size: 1928709371
|
| 22 |
---
|
| 23 |
+
|
| 24 |
+
# Gym-Exercise-Video-Analysis
|
| 25 |
+
|
| 26 |
+
**Gym-Exercise-Video-Analysis** is a specialized multimodal video understanding dataset comprising 500 annotated gym workout and exercise clips. It is designed for fine-tuning and evaluating Video-Language Models (Video-LLMs), visual fitness coaches, and temporal exercise analysis systems. Each entry pairs exercise videos and extracted frame sequences with in-depth textual descriptions, biomechanical observations, form evaluations, and routine tracking.
|
| 27 |
+
|
| 28 |
+
- **Curator:** [prithivMLmods](https://huggingface.co/prithivMLmods)
|
| 29 |
+
- **Total Samples:** 500 rows
|
| 30 |
+
- **Total Size:** ~1.93 GB
|
| 31 |
+
- **Format:** Parquet (`video`, `sliced_frames`, `frames_response`)
|
| 32 |
+
- **Modalities:** Image, Video, Text
|
| 33 |
+
- **Split:** Train (500 rows)
|
| 34 |
+
|
| 35 |
+
## Dataset Structure & Schema
|
| 36 |
+
|
| 37 |
+
Each record contains raw video data, sampled/sliced temporal frames, and comprehensive step-by-step descriptive analysis.
|
| 38 |
+
|
| 39 |
+
### Feature Fields
|
| 40 |
+
|
| 41 |
+
| Field | Type | Description |
|
| 42 |
+
| :--- | :--- | :--- |
|
| 43 |
+
| `video` | `Video` | Source video file of the exercise execution |
|
| 44 |
+
| `sliced_frames` | `Sequence[Image]` | List of sampled sequential video frames (typically 5 keyframes per clip) |
|
| 45 |
+
| `frames_response` | `string` | Detailed analysis describing the exercise movement, technique, body posture, and equipment used |
|
| 46 |
+
|
| 47 |
+
### Example Analysis Text
|
| 48 |
+
|
| 49 |
+
> *"The video captures an individual performing a seated workout routine... As you monitor your fitness routine, I can clearly see that the movement maintains steady tempo, targeted engagement of the upper body muscles, and controlled eccentric extension."*
|
| 50 |
+
|
| 51 |
+
## How to Use
|
| 52 |
+
|
| 53 |
+
### Loading with `datasets`
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
|
| 58 |
+
# Load dataset
|
| 59 |
+
dataset = load_dataset("prithivMLmods/Gym-Exercise-Video-Analysis", split="train")
|
| 60 |
+
|
| 61 |
+
# Access a single record
|
| 62 |
+
sample = dataset[0]
|
| 63 |
+
sliced_frames = sample["sliced_frames"] # List of PIL Images
|
| 64 |
+
analysis = sample["frames_response"] # Text analysis
|
| 65 |
+
|
| 66 |
+
print("Analysis preview:", analysis[:200])
|
| 67 |
+
print(f"Extracted keyframes: {len(sliced_frames)}")
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
### Video-LLM Fine-Tuning Format Example
|
| 71 |
+
|
| 72 |
+
Convert records into multi-image or video prompt conversations for models like Qwen2-VL, Video-LLaVA, or LLaVA-OneVision:
|
| 73 |
+
|
| 74 |
+
```python
|
| 75 |
+
def format_for_video_llm(example):
|
| 76 |
+
return {
|
| 77 |
+
"images": example["sliced_frames"],
|
| 78 |
+
"prompt": "Analyze this gym exercise sequence. Identify the movement, assess form, and describe the physical execution in detail.",
|
| 79 |
+
"response": example["frames_response"]
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
formatted_sample = format_for_video_llm(dataset[0])
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Intended Uses
|
| 86 |
+
|
| 87 |
+
* **Video-LLM Alignment:** Instruction tuning multimodal models on multi-frame sequential reasoning and dense video captioning.
|
| 88 |
+
* **AI Fitness & Coaching Assistants:** Training automated gym form-checkers, exercise counters, and workout logging models.
|
| 89 |
+
* **Action & Movement Recognition:** Temporal motion understanding across diverse gym environments, lighting conditions, and workout equipment.
|
| 90 |
+
|
| 91 |
+
## License
|
| 92 |
+
|
| 93 |
+
This dataset is distributed under the **Apache-2.0 License**.
|