GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Behdad-kanaani/YOLOv8-Dataset-Designer: YOLOv8 Dataset Designer is a versatile tool for generating custom datasets for YOLOv8 object detection models. It supports both a graphical user interface (GUI) for ease of use and a command-line interface (CLI) for automated dataset creation, with customizable parameters for high-quality results.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
FA.md
FA.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
demo.png
demo.png
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

YOLOv8 Dataset Designer

License Python Issues Forks Stars Pull Requests Made With


🇮🇷 فارسی | 🇺🇸 English


📸 ScreenShot

🌟 UI Environment Overview

Here’s a glimpse of the YOLOv8 Dataset Designer interface. It’s designed to be intuitive, clean, and user-friendly for a seamless experience in dataset creation.


YOLOv8 Dataset Designer Demo

📖 Overview

The YOLOv8 Dataset Designer is an end-to-end dataset generation toolkit designed for computer vision practitioners, AI engineers, and researchers who want to quickly create custom datasets for YOLOv8.

It provides two complementary modes:

  • 🚀 Command-line mode (CLI) for automation and batch dataset creation.
  • 🎨 Graphical User Interface (GUI) for intuitive, visual dataset design without the need to write any code.

With this tool, you can transform raw images → high-quality YOLOv8-ready datasets in just a few simple steps.


✨ Features

  • 🔧 Two Modes in One Project: Switch between GUI and CLI depending on your workflow.
  • 🖼️ Flexible Input Handling: Supports image paths directly or interactively through the UI.
  • 🎚️ Customizable Parameters: Adjust geometry levels, color transformations, JPEG quality, validation ratio, and more.
  • 📦 Seamless Dataset Export: Automatically generates datasets that adhere to YOLOv8 conventions.
  • 🔒 Reproducibility: Use random seeds to create deterministic datasets.
  • 🛠️ Modular Codebase: Clean architecture with separate modules for AppRunner, DatasetGenerator, and Config to ensure maintainability.
  • 🧩 Minimal External Dependencies: Easy to set up in a fresh Python environment.

🏗️ Project Structure

YOLOv8-Dataset-Designer/
├── app/
│   ├── ui/              # UI components
│   ├── config.py        # Configuration management
│   └── ...
├── main.py              # Entry point
├── requirements.txt     # Dependencies
└── README.md            # Project documentation

⚙️ Installation

Clone and set up the project:

git clone https://github.com/Behdad-kanaani/YOLOv8-Dataset-Designer.git
cd YOLOv8-Dataset-Designer

(Optional but recommended) Create a virtual environment:

python -m venv venv
source venv/bin/activate   # Linux/macOS
venv\Scripts\activate      # Windows

Install dependencies:

pip install -r requirements.txt

🚀 Usage

1️⃣ Run with Graphical User Interface (default)

python main.py

This will launch the GUI, where you can visually select images, adjust dataset parameters, and start the dataset generation process interactively.


2️⃣ Run with Command-line Interface (headless mode)

Generate datasets without GUI (ideal for automation):

python main.py --no-ui --image-path /path/to/your/image.jpg

Available CLI Arguments:

Argument Type Default Description
--no-ui flag False Run without GUI (headless mode).
--image-path string path/to/default/image.jpg Input image path for dataset generation.

⚡ Example Workflows

✅ Quick Test with Default Config

python main.py --no-ui

✅ Specify Your Own Dataset Image

python main.py --no-ui --image-path ./samples/car.jpg

✅ Use GUI for Multiple Images

python main.py

📚 Configuration

All configuration is managed through the Config class. Example:

cfg = Config(
    image_path="path/to/image.jpg",
    output_root="./dataset_yolov8",
    total=400,
    val_ratio=0.15,
    geo="medium",
    col="medium",
    jpeg_q=95,
    seed=123
)

With this, you can fine-tune the following parameters:

  • Dataset size
  • Train/Validation split ratio
  • Color/Geometry augmentation level
  • JPEG compression quality
  • Random seed for reproducibility

🤝 Contributing

We welcome contributions of all forms — bug fixes, new features, UI improvements, or documentation enhancements.

  1. Fork this repository
  2. Create a new branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -m "Add my feature"
  4. Push to the branch: git push origin feature/my-feature
  5. Submit a Pull Request 🎉

Before contributing, please check the Issues page for open discussions.


📜 License

Distributed under the GNU Affero General Public License v3 (AGPL-3.0). See the full license text in the LICENSE file.


🙌 Acknowledgements

  • Built with 💙 in Python.
  • Inspired by the need for faster, smarter dataset pipelines for YOLOv8.
  • Thanks to the open-source community for continuous inspiration.

📩 Contact

  • Author: Behdad Kanaani
  • Issues: Report a Bug
  • Pull Requests: Contributions welcome!

If you find this project useful, don’t forget to ⭐ star the repo and share it with the community! 🚀

About

YOLOv8 Dataset Designer is a versatile tool for generating custom datasets for YOLOv8 object detection models. It supports both a graphical user interface (GUI) for ease of use and a command-line interface (CLI) for automated dataset creation, with customizable parameters for high-quality results.

Resources

Readme
AGPL-3.0 license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.