dopaul's picture
Upload folder using huggingface_hub
371df68 verified
metadata
license: cc-by-4.0
task_categories:
  - object-detection
tags:
  - chess
  - computer-vision
  - yolo
  - object-detection
size_categories:
  - 1K<n<10K

Chess Piece Detection Dataset: chess-board-4

Dataset Description

This dataset contains chess piece detection annotations in YOLOv8 format.

Chess board segmentation dataset with polygon annotations for precise board detection and localization. Optimized for YOLOv8 segmentation training with chess-board class.

Dataset Structure

The dataset follows the YOLOv8 format with the following structure:

  • train/: Training images and labels
  • valid/: Validation images and labels
  • test/: Test images and labels

Classes

The dataset contains 12 classes of chess pieces:

  1. black-bishop
  2. black-king
  3. black-knight
  4. black-pawn
  5. black-queen
  6. black-rook
  7. white-bishop
  8. white-king
  9. white-knight
  10. white-pawn
  11. white-queen
  12. white-rook

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("dopaul/chess-board-4")

# Access different splits
train_data = dataset["train"]
valid_data = dataset["valid"]
test_data = dataset["test"]

# Example: Access first training image and annotations
example = train_data[0]
image = example["image"]
annotations = example["annotations"]

Citation

If you use this dataset, please consider citing the original sources and this repository.

License

This dataset is released under the CC BY 4.0 license.