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
face-recognition
/
images
RSK World
face-recognition
Face Recognition Dataset - Face Recognition + Face Verification + Biometric Authentication + Computer Vision
images
  • README.md1.9 KB
setup_dataset.py
setup_dataset.py
Raw Download
Find: Go to:
"""
Dataset Setup Script

This script helps set up the dataset directory structure.

Project Information:
- Project ID: 22
- Title: Face Recognition Dataset
- Category: Image Data
- Technologies: PNG, JPG, NumPy, OpenCV, Face Recognition
- Difficulty: Intermediate

Contact Information:
RSK World
Founder: Molla Samser
Designer & Tester: Rima Khatun
Email: help@rskworld.in
Phone: +91 93305 39277
Address: Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India, 713147
Website: https://rskworld.in/
Year: 2026
"""

import os
import config


def create_directory_structure():
    """Create the necessary directory structure for the dataset."""
    directories = [
        config.DATA_DIR,
        config.TRAIN_DIR,
        config.TEST_DIR,
        config.VALIDATION_DIR,
        config.MODELS_DIR
    ]
    
    print("Creating directory structure...")
    print("-" * 60)
    
    for directory in directories:
        os.makedirs(directory, exist_ok=True)
        print(f"Created/Verified: {directory}")
    
    print("\n" + "=" * 60)
    print("Directory structure created successfully!")
    print("=" * 60)
    print("\nDataset Structure:")
    print("  data/")
    print("    train/          - Training images (person_name/image.jpg)")
    print("    test/           - Test images")
    print("    validation/     - Validation images")
    print("  models/           - Saved models")
    print("\nTo use this dataset:")
    print("  1. Organize your images in data/train/person_name/")
    print("  2. Each person should have their own folder")
    print("  3. Supported formats: JPG, JPEG, PNG")
    print("  4. Run train_model.py to train the model")


if __name__ == "__main__":
    print("=" * 60)
    print("Face Recognition Dataset Setup")
    print("=" * 60)
    print(f"Project: Face Recognition Dataset (ID: 22)")
    print(f"RSK World - https://rskworld.in/")
    print("=" * 60)
    print()
    
    create_directory_structure()

72 lines•2 KB
python
🚀 Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work ❤️

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