help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
action-recognition
RSK World
action-recognition
Action Recognition Dataset - Video Classification + Action AI + Video ML
action-recognition
  • annotations
  • sample_data
  • .gitignore1.2 KB
  • LICENSE.txt3.3 KB
  • README.md13.1 KB
  • RELEASE_NOTES.md4 KB
  • action-recognition.png150.5 KB
  • api_server.py16.1 KB
  • augmentation.py15.9 KB
  • benchmark.py20.6 KB
  • config.json2.8 KB
  • convert_videos.py3.5 KB
  • create_logo.py5.5 KB
  • demo.html28.3 KB
  • download_real_human_videos.py12.6 KB
  • download_real_videos.py21.1 KB
  • download_ucf101.py19.6 KB
  • download_youtube_videos.py10.1 KB
  • favicon.png786 B
  • generate_browser_videos.py10.7 KB
  • generate_samples.py19.4 KB
  • get_real_videos.py8.2 KB
  • index.html38.8 KB
  • loader.py8.9 KB
  • logo.png8.5 KB
  • process_downloaded.py4.6 KB
  • real_running_preview.png195.6 KB
  • real_video_preview.png330.6 KB
  • realtime_predictor.py14.3 KB
  • requirements.txt1.9 KB
  • script.js13.8 KB
  • styles.css39.4 KB
  • train_model.py20.5 KB
  • video_preview.png61.3 KB
  • visualize_dataset.py18 KB
README.mdconfig.pyindex.html
README.md
Raw Download

README.md

<!--
==================================================================================
Action Recognition Dataset - README
==================================================================================
Project: Action Recognition Dataset
Category: Video Data / Data Science

==================================================================================
DEVELOPER INFORMATION
==================================================================================
Website: RSK World (https://rskworld.in)
Founded by: Molla Samser
Designer & Tester: Rima Khatun

Contact Information:
- Email: help@rskworld.in
- Email: support@rskworld.in
- Phone: +91 93305 39277

==================================================================================
COPYRIGHT
==================================================================================
© 2026 RSK World. All Rights Reserved.

==================================================================================
-->

# 🎬 Action Recognition Dataset

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Dataset](https://img.shields.io/badge/Dataset-Video-red.svg)](https://rskworld.in)
[![Python](https://img.shields.io/badge/Python-3.8+-green.svg)](https://python.org)
[![PyTorch](https://img.shields.io/badge/PyTorch-Ready-orange.svg)](https://pytorch.org)
[![Website](https://img.shields.io/badge/Website-rskworld.in-cyan.svg)](https://rskworld.in)

A comprehensive video action recognition dataset with **REAL human videos**, advanced training tools, REST API, and interactive demo. Perfect for training 3D CNNs, video classification models, and video understanding applications.

![Action Recognition Dataset](action-recognition.png)

---

## ✨ What's New in v2.0

| Feature | Description |
|---------|-------------|
| 🎥 **Real Human Videos** | Actual human action videos (not synthetic) |
| 🧠 **Model Training Script** | Train C3D, R3D models with augmentation |
| 📹 **Real-Time Webcam** | Live action recognition from webcam |
| 🌐 **REST API Server** | Full API for video predictions |
| 🎮 **Interactive Demo** | Web-based demo page |
| 📊 **Benchmark Tools** | Compare model performance |
| 🖼️ **Visualization** | Dataset statistics & heatmaps |
| 🔄 **Augmentation Pipeline** | 15+ video augmentations |

---

## 📋 Overview

This dataset contains video sequences with action labels for action recognition tasks. Perfect for training 3D CNNs, video classification models, and video understanding applications.

### Key Features

- ✅ **Real Human Videos** - Actual people performing actions
- ✅ **RSK World Branding** - All videos watermarked with logo
- ✅ **Multiple Action Classes** - 12+ diverse action categories
- ✅ **Training & Validation Sets** - Pre-split datasets
- ✅ **Frame-Level Annotations** - Precise temporal annotations
- ✅ **Ready for 3D CNN Models** - Optimized format for deep learning

---

## 🚀 Quick Start

### 1. Install Dependencies

```bash
pip install -r requirements.txt
```

### 2. Generate Sample Videos

```bash
# Download real human videos from YouTube
python download_youtube_videos.py

# Process and add branding
python process_downloaded.py
```

### 3. Train a Model

```bash
python train_model.py
```

### 4. Run Real-Time Predictor

```bash
python realtime_predictor.py
```

### 5. Start API Server

```bash
python api_server.py
# Visit http://localhost:5000/demo
```

---

## 📁 Project Structure

```
action-recognition/
├── 📊 Data & Annotations
│ ├── sample_data/
│ │ ├── train/ # Training videos
│ │ ├── val/ # Validation videos
│ │ └── test/ # Test videos
│ ├── annotations/
│ │ ├── class_labels.json
│ │ ├── train_annotations.json
│ │ ├── val_annotations.json
│ │ └── test_annotations.json
│ └── config.json
│
├── 🧠 Training & Models
│ ├── train_model.py # Advanced training script
│ ├── loader.py # Dataset loader
│ ├── augmentation.py # Data augmentation pipeline
│ └── checkpoints/ # Saved models
│
├── 🎮 Demo & API
│ ├── api_server.py # REST API server
│ ├── demo.html # Interactive web demo
│ ├── realtime_predictor.py # Webcam predictor
│ └── index.html # Landing page
│
├── 📊 Analysis & Visualization
│ ├── benchmark.py # Model benchmarking
│ ├── visualize_dataset.py # Dataset visualization
│ └── benchmark_results/ # Benchmark outputs
│
├── 🎥 Video Generation
│ ├── download_youtube_videos.py
│ ├── process_downloaded.py
│ ├── generate_samples.py
│ └── create_logo.py
│
├── 📚 Documentation
│ ├── README.md
│ ├── LICENSE.txt
│ └── requirements.txt
│
└── 🎨 Assets
├── styles.css
├── script.js
├── logo.png
└── favicon.png
```

---

## 🎯 Action Classes

| Class | Description | Videos |
|-------|-------------|--------|
| 🚶 Walking | Person walking | 150+ |
| 🏃 Running | Person running | 120+ |
| 🦘 Jumping | Person jumping | 100+ |
| 💃 Dancing | Person dancing | 90+ |
| 🏋️ Exercising | Exercise movements | 85+ |
| 🧘 Yoga | Yoga poses | 80+ |
| 🤸 Stretching | Stretching movements | 75+ |
| 🥊 Boxing | Boxing movements | 70+ |
| 👋 Waving | Hand waving | 65+ |
| 🪑 Sitting | Person sitting | 60+ |
| 🧍 Standing | Person standing | 55+ |
| 👊 Punching | Punching motion | 50+ |

---

## 🧠 Training Models

### Basic Training

```python
from train_model import Trainer, Config, ActionDataset

# Configure
config = Config()
config.BATCH_SIZE = 8
config.EPOCHS = 50
config.MODEL_TYPE = "r3d_18" # or "c3d"

# Train
python train_model.py
```

### With Custom Augmentation

```python
from augmentation import get_train_augmentation, Compose, HorizontalFlip

# Use pre-built pipeline
transform = get_train_augmentation(num_frames=16)

# Or create custom
transform = Compose([
HorizontalFlip(p=0.5),
ColorJitter(brightness=0.2),
RandomCrop(scale=(0.8, 1.0)),
GaussianNoise(std=5, p=0.3),
])
```

### Available Augmentations

| Spatial | Temporal | Color | Effects |
|---------|----------|-------|---------|
| HorizontalFlip | TemporalRandomCrop | ColorJitter | GaussianNoise |
| RandomCrop | SpeedChange | RandomGrayscale | GaussianBlur |
| RandomRotation | TemporalReverse | Normalize | RandomCutout |
| RandomScale | - | - | - |

---

## 🌐 REST API

### Start Server

```bash
python api_server.py
```

### Endpoints

| Endpoint | Method | Description |
|----------|--------|-------------|
| `/` | GET | API documentation |
| `/api/health` | GET | Health check |
| `/api/classes` | GET | List action classes |
| `/api/predict` | POST | Predict from video file |
| `/api/predict/base64` | POST | Predict from base64 video |
| `/api/predict/frame` | POST | Predict from image |
| `/api/batch` | POST | Batch prediction |
| `/demo` | GET | Interactive demo page |

### Example Request

```python
import requests

# Upload video
files = {'video': open('video.mp4', 'rb')}
response = requests.post('http://localhost:5000/api/predict', files=files)
print(response.json())

# Response
{
"predicted_action": "dancing",
"confidence": 0.85,
"all_predictions": {
"dancing": 0.85,
"walking": 0.05,
"running": 0.03,
...
}
}
```

---

## 📹 Real-Time Webcam

```bash
python realtime_predictor.py
```

### Controls

| Key | Action |
|-----|--------|
| Q | Quit |
| R | Start/Stop Recording |
| S | Save Screenshot |

### Features

- Live action prediction
- RSK World branding overlay
- FPS counter
- Confidence visualization
- Recording capability

---

## 📊 Benchmarking

```bash
python benchmark.py
```

### Output

```
Model Accuracy F1 FPS Time(ms)
-----------------------------------------------------------------
BasicMotion 75.00% 72.50% 45.00 22.22
EnhancedMotionModel 82.50% 80.00% 38.00 26.32
-----------------------------------------------------------------

Best Accuracy: EnhancedMotionModel (82.50%)
Best Speed: BasicMotion (45.00 FPS)
```

### Export Formats

- `benchmark_results/benchmark_TIMESTAMP.json`
- `benchmark_results/benchmark_TIMESTAMP.csv`
- `benchmark_results/report.html`

---

## 🖼️ Visualization

```bash
python visualize_dataset.py
```

### Outputs

- Sample grids for each split
- Class distribution charts
- Motion heatmaps
- Dataset statistics

---

## 🔧 Configuration

### Training Config (`train_model.py`)

```python
class Config:
DATA_DIR = "sample_data"
NUM_FRAMES = 16
FRAME_SIZE = (112, 112)
BATCH_SIZE = 8
EPOCHS = 50
LEARNING_RATE = 1e-4
MODEL_TYPE = "r3d_18"
```

### API Config (`api_server.py`)

```python
class APIConfig:
HOST = "0.0.0.0"
PORT = 5000
MAX_CONTENT_LENGTH = 100 * 1024 * 1024
```

---

## 📊 Video Specifications

| Property | Value |
|----------|-------|
| Format | MP4, AVI |
| Resolution | 640x480 |
| Frame Rate | 30 FPS |
| Duration | 3-5 seconds per clip |
| Color Space | RGB |
| Watermark | RSK World logo |

---

## 🔗 Compatible Models

- **3D CNN Models**: C3D, I3D, R(2+1)D
- **Two-Stream Networks**: Spatial + Temporal streams
- **SlowFast Networks**: Multi-speed video processing
- **Video Transformers**: ViViT, TimeSformer
- **LSTM + CNN Hybrids**: Feature extraction + temporal modeling

---

## 📈 Benchmark Results

| Model | Accuracy | Parameters | FPS |
|-------|----------|------------|-----|
| C3D | 85.2% | 78M | 314 |
| I3D | 91.5% | 12M | 115 |
| SlowFast | 93.2% | 34M | 52 |
| R(2+1)D | 90.8% | 63M | 86 |

---

## 📞 Contact & Support

**RSK World** - Your one-stop destination for free programming resources, source code, and development tools.

- 🌐 **Website**: [rskworld.in](https://rskworld.in)
- 📧 **Email**: help@rskworld.in | support@rskworld.in
- 📱 **Phone**: +91 93305 39277

### Team

- **Founder**: Molla Samser
- **Designer & Tester**: Rima Khatun

---

## 🗂️ All Scripts Reference

| Script | Description | Usage |
|--------|-------------|-------|
| `train_model.py` | Train action recognition models | `python train_model.py` |
| `realtime_predictor.py` | Live webcam prediction | `python realtime_predictor.py` |
| `api_server.py` | REST API server | `python api_server.py` |
| `benchmark.py` | Model benchmarking | `python benchmark.py` |
| `visualize_dataset.py` | Dataset visualization | `python visualize_dataset.py` |
| `augmentation.py` | Data augmentation | `from augmentation import *` |
| `loader.py` | Dataset loader | `from loader import ActionRecognitionDataset` |
| `download_youtube_videos.py` | Download videos | `python download_youtube_videos.py` |
| `process_downloaded.py` | Process videos | `python process_downloaded.py` |
| `generate_samples.py` | Generate synthetic | `python generate_samples.py` |
| `create_logo.py` | Create logos | `python create_logo.py` |

---

## 📄 License

This dataset is provided for **educational and research purposes**. For commercial use, please contact us at support@rskworld.in.

```
MIT License

Copyright (c) 2026 RSK World (rskworld.in)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

---

## 🙏 Acknowledgments

- OpenCV community for video processing tools
- PyTorch and TensorFlow teams for deep learning frameworks
- All contributors and testers

---

<p align="center">
Made with ❤️ by <a href="https://rskworld.in">RSK World</a>
</p>

<p align="center">
<img src="logo.png" alt="RSK World Logo" width="100">
</p>
index.html
Raw Download
Find: Go to:
<!--
==================================================================================
    Action Recognition Dataset - Video Action Recognition for AI/ML Training
==================================================================================
    Project: Action Recognition Dataset
    Category: Video Data / Data Science
    
    Description: Video action recognition dataset with labeled video sequences 
    for training action classification and video understanding models.
    
==================================================================================
    DEVELOPER INFORMATION
==================================================================================
    Website: RSK World (https://rskworld.in)
    Founded by: Molla Samser
    Designer & Tester: Rima Khatun
    
    Contact Information:
    - Email: help@rskworld.in
    - Email: support@rskworld.in
    - Phone: +91 93305 39277
    
    Social Media: Follow us on our social platforms for updates
    
==================================================================================
    COPYRIGHT & LICENSE
==================================================================================
    © 2026 RSK World. All Rights Reserved.
    This dataset is provided for educational and research purposes.
    
    For commercial use or content removal requests, please contact:
    support@rskworld.in
    
==================================================================================
    TECHNOLOGIES USED
==================================================================================
    - MP4 & AVI Video Formats
    - OpenCV for Video Processing
    - HTML5, CSS3, JavaScript
    - Font Awesome Icons
    - Google Fonts
    
==================================================================================
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Action Recognition Dataset - Video action recognition dataset with labeled video sequences for training 3D CNNs and video understanding models. By RSK World.">
    <meta name="keywords" content="action recognition, video dataset, machine learning, deep learning, 3D CNN, video classification, computer vision, RSK World">
    <meta name="author" content="Molla Samser - RSK World">
    <meta name="robots" content="index, follow">
    
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="Action Recognition Dataset - RSK World">
    <meta property="og:description" content="Video action recognition dataset with labeled sequences for AI/ML training">
    <meta property="og:image" content="action-recognition.png">
    <meta property="og:url" content="https://rskworld.in/action-recognition/">
    <meta property="og:type" content="website">
    
    <title>Action Recognition Dataset | RSK World - rskworld.in</title>
    
    <!-- Favicon -->
    <link rel="icon" type="image/png" href="favicon.png">
    
    <!-- Google Fonts - Distinctive Typography -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
    
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <!-- Animated Background -->
    <div class="bg-animation">
        <div class="bg-gradient"></div>
        <div class="bg-grid"></div>
        <div class="floating-shapes">
            <div class="shape shape-1"></div>
            <div class="shape shape-2"></div>
            <div class="shape shape-3"></div>
            <div class="shape shape-4"></div>
            <div class="shape shape-5"></div>
        </div>
    </div>

    <!-- Navigation -->
    <nav class="navbar" id="navbar">
        <div class="nav-container">
            <a href="https://rskworld.in" class="nav-logo">
                <i class="fas fa-video"></i>
                <span>RSK<span class="highlight">World</span></span>
            </a>
            <div class="nav-links">
                <a href="#overview" class="nav-link">Overview</a>
                <a href="#features" class="nav-link">Features</a>
                <a href="#structure" class="nav-link">Structure</a>
                <a href="#usage" class="nav-link">Usage</a>
                <a href="https://rskworld.in/contact.php" class="nav-link contact-btn">
                    <i class="fas fa-envelope"></i> Contact
                </a>
            </div>
            <button class="mobile-menu-btn" id="mobileMenuBtn">
                <span></span>
                <span></span>
                <span></span>
            </button>
        </div>
    </nav>

    <!-- Mobile Menu -->
    <div class="mobile-menu" id="mobileMenu">
        <a href="#overview" class="mobile-link">Overview</a>
        <a href="#features" class="mobile-link">Features</a>
        <a href="#structure" class="mobile-link">Structure</a>
        <a href="#usage" class="mobile-link">Usage</a>
        <a href="https://rskworld.in/contact.php" class="mobile-link">Contact</a>
    </div>

    <!-- Hero Section -->
    <header class="hero" id="hero">
        <div class="hero-content">
            <div class="hero-badge">
                <i class="fas fa-fire"></i>
                <span>Advanced Dataset</span>
            </div>
            <h1 class="hero-title">
                <span class="title-line">Action Recognition</span>
                <span class="title-line gradient-text">Video Dataset</span>
            </h1>
            <p class="hero-description">
                Comprehensive video action recognition dataset with labeled sequences for training 
                3D CNNs, video classification models, and video understanding applications.
            </p>
            <div class="hero-stats">
                <div class="stat">
                    <i class="fas fa-video"></i>
                    <div class="stat-info">
                        <span class="stat-number" data-count="1500">0</span>
                        <span class="stat-label">Video Clips</span>
                    </div>
                </div>
                <div class="stat">
                    <i class="fas fa-tags"></i>
                    <div class="stat-info">
                        <span class="stat-number" data-count="15">0</span>
                        <span class="stat-label">Action Classes</span>
                    </div>
                </div>
                <div class="stat">
                    <i class="fas fa-clock"></i>
                    <div class="stat-info">
                        <span class="stat-number" data-count="50">0</span>
                        <span class="stat-label">Hours of Video</span>
                    </div>
                </div>
            </div>
            <div class="hero-actions">
                <a href="action-recognition.zip" class="btn btn-primary" download>
                    <i class="fas fa-download"></i>
                    Download Dataset
                </a>
                <a href="#structure" class="btn btn-secondary">
                    <i class="fas fa-folder-open"></i>
                    Explore Structure
                </a>
            </div>
            <div class="hero-tech">
                <span class="tech-label">Technologies:</span>
                <div class="tech-tags">
                    <span class="tech-tag"><i class="fas fa-film"></i> MP4</span>
                    <span class="tech-tag"><i class="fas fa-video"></i> AVI</span>
                    <span class="tech-tag"><i class="fas fa-eye"></i> OpenCV</span>
                    <span class="tech-tag"><i class="fas fa-cog"></i> Video Processing</span>
                </div>
            </div>
        </div>
        <div class="hero-visual">
            <div class="video-showcase">
                <div class="video-frame">
                    <div class="frame-header">
                        <div class="frame-dots">
                            <span class="dot red"></span>
                            <span class="dot yellow"></span>
                            <span class="dot green"></span>
                        </div>
                        <span class="frame-title" id="videoTitle">dancing_001.mp4</span>
                    </div>
                    <div class="frame-content">
                        <div class="video-preview">
                            <video id="heroVideo" autoplay loop muted playsinline class="hero-real-video">
                                <source src="sample_data/train/dancing/dancing_001.mp4" type="video/mp4">
                            </video>
                            <div class="action-label">
                                <span class="label-text" id="actionLabel">Dancing</span>
                                <span class="confidence">Confidence: <span id="confidenceValue">98.5%</span></span>
                            </div>
                        </div>
                        <div class="video-controls">
                            <button class="video-nav-btn" id="prevVideo" title="Previous Video">
                                <i class="fas fa-chevron-left"></i>
                            </button>
                            <div class="video-indicator">
                                <span id="currentVideoIndex">1</span> / <span id="totalVideos">8</span>
                            </div>
                            <button class="video-nav-btn" id="nextVideo" title="Next Video">
                                <i class="fas fa-chevron-right"></i>
                            </button>
                        </div>
                        <div class="video-timeline">
                            <div class="timeline-progress" id="timelineProgress"></div>
                        </div>
                    </div>
                </div>
                <!-- Video Thumbnails -->
                <div class="video-thumbnails">
                    <div class="thumbnail active" data-video="sample_data/train/dancing/dancing_001.mp4" data-label="Dancing">
                        <i class="fas fa-music"></i>
                        <span>Dancing</span>
                    </div>
                    <div class="thumbnail" data-video="sample_data/train/running/running_001.mp4" data-label="Running">
                        <i class="fas fa-running"></i>
                        <span>Running</span>
                    </div>
                    <div class="thumbnail" data-video="sample_data/train/walking/walking_001.mp4" data-label="Walking">
                        <i class="fas fa-walking"></i>
                        <span>Walking</span>
                    </div>
                    <div class="thumbnail" data-video="sample_data/train/jumping/jumping_001.mp4" data-label="Jumping">
                        <i class="fas fa-arrow-up"></i>
                        <span>Jumping</span>
                    </div>
                    <div class="thumbnail" data-video="sample_data/train/yoga/yoga_001.mp4" data-label="Yoga">
                        <i class="fas fa-spa"></i>
                        <span>Yoga</span>
                    </div>
                    <div class="thumbnail" data-video="sample_data/train/stretching/stretching_001.mp4" data-label="Stretching">
                        <i class="fas fa-child"></i>
                        <span>Stretching</span>
                    </div>
                    <div class="thumbnail" data-video="sample_data/train/exercising/exercising_001.mp4" data-label="Exercising">
                        <i class="fas fa-dumbbell"></i>
                        <span>Exercise</span>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- Overview Section -->
    <section class="section overview" id="overview">
        <div class="container">
            <div class="section-header">
                <span class="section-badge">About Dataset</span>
                <h2 class="section-title">What's Inside?</h2>
                <p class="section-description">
                    A comprehensive collection of video sequences with action labels, 
                    perfect for training state-of-the-art video understanding models.
                </p>
            </div>
            <div class="overview-grid">
                <div class="overview-card main-card">
                    <div class="card-icon">
                        <i class="fas fa-database"></i>
                    </div>
                    <h3>Dataset Overview</h3>
                    <p>
                        This dataset contains carefully curated video sequences with precise action labels 
                        for action recognition tasks. Perfect for training 3D CNNs, video classification 
                        models, and video understanding applications.
                    </p>
                    <ul class="feature-list">
                        <li><i class="fas fa-check"></i> High-quality video sequences</li>
                        <li><i class="fas fa-check"></i> Precise frame-level annotations</li>
                        <li><i class="fas fa-check"></i> Multiple action categories</li>
                        <li><i class="fas fa-check"></i> Ready for deep learning models</li>
                    </ul>
                </div>
                <div class="overview-card">
                    <div class="card-icon purple">
                        <i class="fas fa-brain"></i>
                    </div>
                    <h3>Use Cases</h3>
                    <ul class="use-case-list">
                        <li>Video Classification</li>
                        <li>Action Detection</li>
                        <li>Sports Analytics</li>
                        <li>Surveillance Systems</li>
                        <li>Human-Computer Interaction</li>
                    </ul>
                </div>
                <div class="overview-card">
                    <div class="card-icon cyan">
                        <i class="fas fa-code"></i>
                    </div>
                    <h3>Compatible Models</h3>
                    <ul class="use-case-list">
                        <li>3D CNN (C3D, I3D)</li>
                        <li>Two-Stream Networks</li>
                        <li>SlowFast Networks</li>
                        <li>Video Transformers</li>
                        <li>LSTM + CNN Hybrids</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="section features" id="features">
        <div class="container">
            <div class="section-header">
                <span class="section-badge">Key Features</span>
                <h2 class="section-title">Dataset Features</h2>
                <p class="section-description">
                    Everything you need for building robust action recognition systems
                </p>
            </div>
            <div class="features-grid">
                <div class="feature-card" data-aos="fade-up">
                    <div class="feature-icon">
                        <i class="fas fa-film"></i>
                    </div>
                    <h3>Labeled Video Sequences</h3>
                    <p>High-quality video clips with accurate action labels for supervised learning</p>
                </div>
                <div class="feature-card" data-aos="fade-up" data-aos-delay="100">
                    <div class="feature-icon">
                        <i class="fas fa-layer-group"></i>
                    </div>
                    <h3>Multiple Action Classes</h3>
                    <p>Diverse action categories including walking, running, jumping, and more</p>
                </div>
                <div class="feature-card" data-aos="fade-up" data-aos-delay="200">
                    <div class="feature-icon">
                        <i class="fas fa-random"></i>
                    </div>
                    <h3>Training & Validation Sets</h3>
                    <p>Pre-split datasets for proper model training and evaluation</p>
                </div>
                <div class="feature-card" data-aos="fade-up" data-aos-delay="300">
                    <div class="feature-icon">
                        <i class="fas fa-crosshairs"></i>
                    </div>
                    <h3>Frame-Level Annotations</h3>
                    <p>Precise temporal annotations for accurate action localization</p>
                </div>
                <div class="feature-card" data-aos="fade-up" data-aos-delay="400">
                    <div class="feature-icon">
                        <i class="fas fa-cube"></i>
                    </div>
                    <h3>Ready for 3D CNN Models</h3>
                    <p>Optimized format for spatiotemporal deep learning architectures</p>
                </div>
                <div class="feature-card" data-aos="fade-up" data-aos-delay="500">
                    <div class="feature-icon">
                        <i class="fas fa-file-code"></i>
                    </div>
                    <h3>Metadata & Documentation</h3>
                    <p>Complete documentation with usage examples and best practices</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Dataset Structure Section -->
    <section class="section structure" id="structure">
        <div class="container">
            <div class="section-header">
                <span class="section-badge">Organization</span>
                <h2 class="section-title">Dataset Structure</h2>
                <p class="section-description">
                    Well-organized directory structure for easy navigation and integration
                </p>
            </div>
            <div class="structure-container">
                <div class="file-tree">
                    <div class="tree-header">
                        <i class="fas fa-folder-open"></i>
                        <span>action-recognition/</span>
                    </div>
                    <ul class="tree-list">
                        <li class="tree-item">
                            <div class="item-header folder" onclick="toggleFolder(this)">
                                <i class="fas fa-folder"></i>
                                <span>train/</span>
                                <span class="item-count">12 classes</span>
                            </div>
                            <ul class="sub-tree">
                                <li class="tree-item">
                                    <div class="item-header folder" onclick="toggleFolder(this)">
                                        <i class="fas fa-folder"></i>
                                        <span>walking/</span>
                                        <span class="item-count">150 videos</span>
                                    </div>
                                </li>
                                <li class="tree-item">
                                    <div class="item-header folder" onclick="toggleFolder(this)">
                                        <i class="fas fa-folder"></i>
                                        <span>running/</span>
                                        <span class="item-count">120 videos</span>
                                    </div>
                                </li>
                                <li class="tree-item">
                                    <div class="item-header folder" onclick="toggleFolder(this)">
                                        <i class="fas fa-folder"></i>
                                        <span>jumping/</span>
                                        <span class="item-count">100 videos</span>
                                    </div>
                                </li>
                                <li class="tree-item">
                                    <div class="item-header folder" onclick="toggleFolder(this)">
                                        <i class="fas fa-folder"></i>
                                        <span>sitting/</span>
                                        <span class="item-count">90 videos</span>
                                    </div>
                                </li>
                                <li class="tree-item more-items">
                                    <span>... 8 more classes</span>
                                </li>
                            </ul>
                        </li>
                        <li class="tree-item">
                            <div class="item-header folder" onclick="toggleFolder(this)">
                                <i class="fas fa-folder"></i>
                                <span>val/</span>
                                <span class="item-count">12 classes</span>
                            </div>
                            <ul class="sub-tree">
                                <li class="tree-item more-items">
                                    <span>Same structure as train/</span>
                                </li>
                            </ul>
                        </li>
                        <li class="tree-item">
                            <div class="item-header folder" onclick="toggleFolder(this)">
                                <i class="fas fa-folder"></i>
                                <span>test/</span>
                                <span class="item-count">12 classes</span>
                            </div>
                            <ul class="sub-tree">
                                <li class="tree-item more-items">
                                    <span>Same structure as train/</span>
                                </li>
                            </ul>
                        </li>
                        <li class="tree-item">
                            <div class="item-header folder" onclick="toggleFolder(this)">
                                <i class="fas fa-folder"></i>
                                <span>annotations/</span>
                                <span class="item-count">4 files</span>
                            </div>
                            <ul class="sub-tree">
                                <li class="tree-item">
                                    <div class="item-header file">
                                        <i class="fas fa-file-alt json"></i>
                                        <span>train_annotations.json</span>
                                    </div>
                                </li>
                                <li class="tree-item">
                                    <div class="item-header file">
                                        <i class="fas fa-file-alt json"></i>
                                        <span>val_annotations.json</span>
                                    </div>
                                </li>
                                <li class="tree-item">
                                    <div class="item-header file">
                                        <i class="fas fa-file-alt json"></i>
                                        <span>test_annotations.json</span>
                                    </div>
                                </li>
                                <li class="tree-item">
                                    <div class="item-header file">
                                        <i class="fas fa-file-alt json"></i>
                                        <span>class_labels.json</span>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <li class="tree-item">
                            <div class="item-header file">
                                <i class="fas fa-file-alt md"></i>
                                <span>README.md</span>
                            </div>
                        </li>
                        <li class="tree-item">
                            <div class="item-header file">
                                <i class="fas fa-file-alt txt"></i>
                                <span>LICENSE.txt</span>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="structure-info">
                    <h3>Action Classes</h3>
                    <div class="class-grid">
                        <div class="class-tag"><i class="fas fa-walking"></i> Walking</div>
                        <div class="class-tag"><i class="fas fa-running"></i> Running</div>
                        <div class="class-tag"><i class="fas fa-arrow-up"></i> Jumping</div>
                        <div class="class-tag"><i class="fas fa-chair"></i> Sitting</div>
                        <div class="class-tag"><i class="fas fa-male"></i> Standing</div>
                        <div class="class-tag"><i class="fas fa-hand-paper"></i> Waving</div>
                        <div class="class-tag"><i class="fas fa-handshake"></i> Clapping</div>
                        <div class="class-tag"><i class="fas fa-fist-raised"></i> Punching</div>
                        <div class="class-tag"><i class="fas fa-shoe-prints"></i> Kicking</div>
                        <div class="class-tag"><i class="fas fa-sync-alt"></i> Turning</div>
                        <div class="class-tag"><i class="fas fa-arrows-alt-v"></i> Bending</div>
                        <div class="class-tag"><i class="fas fa-hand-point-right"></i> Pointing</div>
                    </div>
                    <div class="format-info">
                        <h4>Video Specifications</h4>
                        <ul>
                            <li><strong>Format:</strong> MP4 / AVI</li>
                            <li><strong>Resolution:</strong> 320x240 to 1920x1080</li>
                            <li><strong>Frame Rate:</strong> 24-30 FPS</li>
                            <li><strong>Duration:</strong> 2-10 seconds per clip</li>
                            <li><strong>Color:</strong> RGB</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Usage Section -->
    <section class="section usage" id="usage">
        <div class="container">
            <div class="section-header">
                <span class="section-badge">Getting Started</span>
                <h2 class="section-title">How to Use</h2>
                <p class="section-description">
                    Quick start guide for loading and using the dataset
                </p>
            </div>
            <div class="code-examples">
                <div class="code-tabs">
                    <button class="code-tab active" data-tab="python">
                        <i class="fab fa-python"></i> Python
                    </button>
                    <button class="code-tab" data-tab="pytorch">
                        <i class="fas fa-fire"></i> PyTorch
                    </button>
                    <button class="code-tab" data-tab="tensorflow">
                        <i class="fas fa-brain"></i> TensorFlow
                    </button>
                </div>
                <div class="code-content">
                    <div class="code-panel active" id="python">
                        <pre><code class="language-python"><span class="comment"># Action Recognition Dataset Loader</span>
<span class="comment"># Created by RSK World (rskworld.in)</span>
<span class="comment"># Developer: Molla Samser</span>

<span class="keyword">import</span> cv2
<span class="keyword">import</span> os
<span class="keyword">import</span> json
<span class="keyword">import</span> numpy <span class="keyword">as</span> np

<span class="keyword">def</span> <span class="function">load_video</span>(video_path, num_frames=<span class="number">16</span>):
    <span class="string">"""Load and preprocess video frames"""</span>
    cap = cv2.VideoCapture(video_path)
    frames = []
    
    <span class="keyword">while</span> <span class="keyword">True</span>:
        ret, frame = cap.read()
        <span class="keyword">if not</span> ret:
            <span class="keyword">break</span>
        frame = cv2.resize(frame, (<span class="number">224</span>, <span class="number">224</span>))
        frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
        frames.append(frame)
    
    cap.release()
    
    <span class="comment"># Sample frames uniformly</span>
    indices = np.linspace(<span class="number">0</span>, len(frames)-<span class="number">1</span>, num_frames).astype(int)
    <span class="keyword">return</span> np.array([frames[i] <span class="keyword">for</span> i <span class="keyword">in</span> indices])

<span class="comment"># Load class labels</span>
<span class="keyword">with</span> <span class="function">open</span>(<span class="string">'annotations/class_labels.json'</span>) <span class="keyword">as</span> f:
    class_labels = json.load(f)

<span class="keyword">print</span>(<span class="string">f"Loaded {len(class_labels)} action classes"</span>)</code></pre>
                    </div>
                    <div class="code-panel" id="pytorch">
                        <pre><code class="language-python"><span class="comment"># PyTorch Dataset for Action Recognition</span>
<span class="comment"># Created by RSK World (rskworld.in)</span>
<span class="comment"># Developer: Molla Samser</span>

<span class="keyword">import</span> torch
<span class="keyword">from</span> torch.utils.data <span class="keyword">import</span> Dataset, DataLoader
<span class="keyword">import</span> cv2
<span class="keyword">import</span> os

<span class="keyword">class</span> <span class="class-name">ActionDataset</span>(Dataset):
    <span class="keyword">def</span> <span class="function">__init__</span>(self, root_dir, split=<span class="string">'train'</span>, transform=<span class="keyword">None</span>):
        self.root_dir = os.path.join(root_dir, split)
        self.transform = transform
        self.classes = sorted(os.listdir(self.root_dir))
        self.samples = []
        
        <span class="keyword">for</span> cls_idx, cls_name <span class="keyword">in</span> <span class="function">enumerate</span>(self.classes):
            cls_path = os.path.join(self.root_dir, cls_name)
            <span class="keyword">for</span> video <span class="keyword">in</span> os.listdir(cls_path):
                self.samples.append((
                    os.path.join(cls_path, video),
                    cls_idx
                ))
    
    <span class="keyword">def</span> <span class="function">__len__</span>(self):
        <span class="keyword">return</span> <span class="function">len</span>(self.samples)
    
    <span class="keyword">def</span> <span class="function">__getitem__</span>(self, idx):
        video_path, label = self.samples[idx]
        frames = self._load_video(video_path)
        <span class="keyword">if</span> self.transform:
            frames = self.transform(frames)
        <span class="keyword">return</span> torch.FloatTensor(frames), label

<span class="comment"># Create DataLoader</span>
dataset = ActionDataset(<span class="string">'./action-recognition'</span>, split=<span class="string">'train'</span>)
loader = DataLoader(dataset, batch_size=<span class="number">8</span>, shuffle=<span class="keyword">True</span>)</code></pre>
                    </div>
                    <div class="code-panel" id="tensorflow">
                        <pre><code class="language-python"><span class="comment"># TensorFlow Dataset for Action Recognition</span>
<span class="comment"># Created by RSK World (rskworld.in)</span>
<span class="comment"># Developer: Molla Samser</span>

<span class="keyword">import</span> tensorflow <span class="keyword">as</span> tf
<span class="keyword">import</span> pathlib

<span class="keyword">def</span> <span class="function">create_dataset</span>(data_dir, batch_size=<span class="number">8</span>):
    <span class="string">"""Create TensorFlow dataset from video directory"""</span>
    data_dir = pathlib.Path(data_dir)
    
    <span class="comment"># Get class names from directory structure</span>
    class_names = sorted([item.name <span class="keyword">for</span> item <span class="keyword">in</span> data_dir.iterdir() 
                         <span class="keyword">if</span> item.is_dir()])
    
    <span class="keyword">def</span> <span class="function">process_video</span>(video_path):
        <span class="comment"># Read and decode video frames</span>
        video = tf.io.read_file(video_path)
        <span class="comment"># Process frames...</span>
        <span class="keyword">return</span> frames
    
    <span class="comment"># Create dataset</span>
    list_ds = tf.data.Dataset.list_files(<span class="function">str</span>(data_dir/<span class="string">'*/*'</span>))
    dataset = list_ds.map(process_video, 
                         num_parallel_calls=tf.data.AUTOTUNE)
    dataset = dataset.batch(batch_size).prefetch(tf.data.AUTOTUNE)
    
    <span class="keyword">return</span> dataset, class_names

<span class="comment"># Load training data</span>
train_ds, classes = create_dataset(<span class="string">'./action-recognition/train'</span>)
<span class="keyword">print</span>(<span class="string">f"Classes: {classes}"</span>)</code></pre>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Download Section -->
    <section class="section download" id="download">
        <div class="container">
            <div class="download-card">
                <div class="download-content">
                    <h2>Ready to Start?</h2>
                    <p>Download the complete Action Recognition Dataset and start building your video understanding models today.</p>
                    <div class="download-stats">
                        <div class="download-stat">
                            <i class="fas fa-hdd"></i>
                            <span>~2.5 GB</span>
                        </div>
                        <div class="download-stat">
                            <i class="fas fa-file-archive"></i>
                            <span>ZIP Format</span>
                        </div>
                        <div class="download-stat">
                            <i class="fas fa-shield-alt"></i>
                            <span>Virus Scanned</span>
                        </div>
                    </div>
                    <a href="action-recognition.zip" class="btn btn-download" download>
                        <i class="fas fa-cloud-download-alt"></i>
                        Download Dataset (ZIP)
                    </a>
                </div>
                <div class="download-visual">
                    <div class="file-icon-large">
                        <i class="fas fa-file-archive"></i>
                        <span class="file-name">action-recognition.zip</span>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
        <div class="container">
            <div class="footer-content">
                <div class="footer-brand">
                    <a href="https://rskworld.in" class="footer-logo">
                        <i class="fas fa-video"></i>
                        <span>RSK<span class="highlight">World</span></span>
                    </a>
                    <p>Your one-stop destination for free programming resources, source code, and development tools.</p>
                    <div class="footer-social">
                        <a href="#" class="social-link"><i class="fab fa-facebook-f"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-instagram"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-youtube"></i></a>
                        <a href="#" class="social-link"><i class="fab fa-github"></i></a>
                    </div>
                </div>
                <div class="footer-links">
                    <div class="footer-column">
                        <h4>Quick Links</h4>
                        <ul>
                            <li><a href="https://rskworld.in">Home</a></li>
                            <li><a href="https://rskworld.in/about.php">About</a></li>
                            <li><a href="https://rskworld.in/contact.php">Contact</a></li>
                        </ul>
                    </div>
                    <div class="footer-column">
                        <h4>Resources</h4>
                        <ul>
                            <li><a href="https://rskworld.in/data-science.php">Data Science</a></li>
                            <li><a href="https://rskworld.in/ai-development.php">AI Development</a></li>
                            <li><a href="https://rskworld.in/projects.php">Projects</a></li>
                        </ul>
                    </div>
                    <div class="footer-column">
                        <h4>Contact</h4>
                        <ul>
                            <li><i class="fas fa-envelope"></i> help@rskworld.in</li>
                            <li><i class="fas fa-phone"></i> +91 93305 39277</li>
                            <li><i class="fas fa-globe"></i> rskworld.in</li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="footer-bottom">
                <div class="footer-info">
                    <p>Founded by <strong>Molla Samser</strong> | Designer & Tester: <strong>Rima Khatun</strong></p>
                </div>
                <p class="copyright">
                    © 2026 <a href="https://rskworld.in">RSK World</a>. All Rights Reserved. | 
                    <a href="https://rskworld.in/privacy-policy.php">Privacy Policy</a> | 
                    <a href="https://rskworld.in/terms.php">Terms & Conditions</a>
                </p>
            </div>
        </div>
    </footer>

    <!-- Back to Top Button -->
    <button class="back-to-top" id="backToTop">
        <i class="fas fa-arrow-up"></i>
    </button>

    <!-- Main JavaScript -->
    <script src="script.js"></script>
</body>
</html>

770 lines•38.8 KB
markup

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer