dopaul's picture
Upload folder using huggingface_hub
371df68 verified
---
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:
0. black-bishop
1. black-king
2. black-knight
3. black-pawn
4. black-queen
5. black-rook
6. white-bishop
7. white-king
8. white-knight
9. white-pawn
10. white-queen
11. white-rook
## Usage
```python
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.