Datasets:
Upload folder using huggingface_hub
Browse files- README.md +69 -37
- README.roboflow.txt +29 -0
- data.yaml +12 -0
README.md
CHANGED
|
@@ -1,39 +1,71 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
- name: polygon
|
| 13 |
-
sequence: float32
|
| 14 |
-
- name: image_width
|
| 15 |
-
dtype: int32
|
| 16 |
-
- name: image_height
|
| 17 |
-
dtype: int32
|
| 18 |
-
splits:
|
| 19 |
-
- name: train
|
| 20 |
-
num_bytes: 7353848.0
|
| 21 |
-
num_examples: 148
|
| 22 |
-
- name: valid
|
| 23 |
-
num_bytes: 1698831.0
|
| 24 |
-
num_examples: 33
|
| 25 |
-
- name: test
|
| 26 |
-
num_bytes: 1024678.0
|
| 27 |
-
num_examples: 20
|
| 28 |
-
download_size: 10090627
|
| 29 |
-
dataset_size: 10077357.0
|
| 30 |
-
configs:
|
| 31 |
-
- config_name: default
|
| 32 |
-
data_files:
|
| 33 |
-
- split: train
|
| 34 |
-
path: data/train-*
|
| 35 |
-
- split: valid
|
| 36 |
-
path: data/valid-*
|
| 37 |
-
- split: test
|
| 38 |
-
path: data/test-*
|
| 39 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- object-detection
|
| 5 |
+
tags:
|
| 6 |
+
- chess
|
| 7 |
+
- computer-vision
|
| 8 |
+
- yolo
|
| 9 |
+
- object-detection
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# Chess Piece Detection Dataset: chess-board-4
|
| 15 |
+
|
| 16 |
+
## Dataset Description
|
| 17 |
+
|
| 18 |
+
This dataset contains chess piece detection annotations in YOLOv8 format.
|
| 19 |
+
|
| 20 |
+
Chess board segmentation dataset with polygon annotations for precise board detection and localization. Optimized for YOLOv8 segmentation training with chess-board class.
|
| 21 |
+
|
| 22 |
+
## Dataset Structure
|
| 23 |
+
|
| 24 |
+
The dataset follows the YOLOv8 format with the following structure:
|
| 25 |
+
- `train/`: Training images and labels
|
| 26 |
+
- `valid/`: Validation images and labels
|
| 27 |
+
- `test/`: Test images and labels
|
| 28 |
+
|
| 29 |
+
## Classes
|
| 30 |
+
|
| 31 |
+
The dataset contains 12 classes of chess pieces:
|
| 32 |
+
|
| 33 |
+
0. black-bishop
|
| 34 |
+
1. black-king
|
| 35 |
+
2. black-knight
|
| 36 |
+
3. black-pawn
|
| 37 |
+
4. black-queen
|
| 38 |
+
5. black-rook
|
| 39 |
+
6. white-bishop
|
| 40 |
+
7. white-king
|
| 41 |
+
8. white-knight
|
| 42 |
+
9. white-pawn
|
| 43 |
+
10. white-queen
|
| 44 |
+
11. white-rook
|
| 45 |
+
|
| 46 |
+
## Usage
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
from datasets import load_dataset
|
| 50 |
+
|
| 51 |
+
# Load the dataset
|
| 52 |
+
dataset = load_dataset("dopaul/chess-board-4")
|
| 53 |
+
|
| 54 |
+
# Access different splits
|
| 55 |
+
train_data = dataset["train"]
|
| 56 |
+
valid_data = dataset["valid"]
|
| 57 |
+
test_data = dataset["test"]
|
| 58 |
+
|
| 59 |
+
# Example: Access first training image and annotations
|
| 60 |
+
example = train_data[0]
|
| 61 |
+
image = example["image"]
|
| 62 |
+
annotations = example["annotations"]
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Citation
|
| 66 |
+
|
| 67 |
+
If you use this dataset, please consider citing the original sources and this repository.
|
| 68 |
+
|
| 69 |
+
## License
|
| 70 |
+
|
| 71 |
+
This dataset is released under the CC BY 4.0 license.
|
README.roboflow.txt
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
chess-board - v4 2025-06-26 12:51am
|
| 3 |
+
==============================
|
| 4 |
+
|
| 5 |
+
This dataset was exported via roboflow.com on June 26, 2025 at 7:55 AM GMT
|
| 6 |
+
|
| 7 |
+
Roboflow is an end-to-end computer vision platform that helps you
|
| 8 |
+
* collaborate with your team on computer vision projects
|
| 9 |
+
* collect & organize images
|
| 10 |
+
* understand and search unstructured image data
|
| 11 |
+
* annotate, and create datasets
|
| 12 |
+
* export, train, and deploy computer vision models
|
| 13 |
+
* use active learning to improve your dataset over time
|
| 14 |
+
|
| 15 |
+
For state of the art Computer Vision training notebooks you can use with this dataset,
|
| 16 |
+
visit https://github.com/roboflow/notebooks
|
| 17 |
+
|
| 18 |
+
To find over 100k other datasets and pre-trained models, visit https://universe.roboflow.com
|
| 19 |
+
|
| 20 |
+
The dataset includes 201 images.
|
| 21 |
+
Chess-board are annotated in YOLOv8 format.
|
| 22 |
+
|
| 23 |
+
The following pre-processing was applied to each image:
|
| 24 |
+
* Auto-orientation of pixel data (with EXIF-orientation stripping)
|
| 25 |
+
* Resize to 640x640 (Stretch)
|
| 26 |
+
|
| 27 |
+
No image augmentation techniques were applied.
|
| 28 |
+
|
| 29 |
+
|
data.yaml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
names:
|
| 2 |
+
- chess-board
|
| 3 |
+
nc: 1
|
| 4 |
+
roboflow:
|
| 5 |
+
license: CC BY 4.0
|
| 6 |
+
project: chess-board-i0ptl
|
| 7 |
+
url: https://app.roboflow.com/gustoguardian/chess-board-i0ptl/4
|
| 8 |
+
version: 4
|
| 9 |
+
workspace: gustoguardian
|
| 10 |
+
test: test/images
|
| 11 |
+
train: train/images
|
| 12 |
+
val: valid/images
|