Datasets:
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 labelsvalid/: Validation images and labelstest/: Test images and labels
Classes
The dataset contains 12 classes of chess pieces:
- black-bishop
- black-king
- black-knight
- black-pawn
- black-queen
- black-rook
- white-bishop
- white-king
- white-knight
- white-pawn
- white-queen
- 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.