dopaul commited on
Commit
2e9ecd5
·
verified ·
1 Parent(s): 9e9a2a3

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +69 -45
  2. data.yaml +17 -0
README.md CHANGED
@@ -1,47 +1,71 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: image_id
7
- dtype: string
8
- - name: annotations
9
- sequence:
10
- - name: class_id
11
- dtype: int32
12
- - name: x_center
13
- dtype: float32
14
- - name: y_center
15
- dtype: float32
16
- - name: width
17
- dtype: float32
18
- - name: height
19
- dtype: float32
20
- - name: image_width
21
- dtype: int32
22
- - name: image_height
23
- dtype: int32
24
- - name: source_dataset
25
- dtype: string
26
- splits:
27
- - name: train
28
- num_bytes: 65763059.0
29
- num_examples: 733
30
- - name: valid
31
- num_bytes: 13603135.0
32
- num_examples: 85
33
- - name: test
34
- num_bytes: 6395677.0
35
- num_examples: 37
36
- download_size: 85726174
37
- dataset_size: 85761871.0
38
- configs:
39
- - config_name: default
40
- data_files:
41
- - split: train
42
- path: data/train-*
43
- - split: valid
44
- path: data/valid-*
45
- - split: test
46
- path: data/test-*
47
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Datasets: merged-chess_pieces_dominique-chess_pieces_roboflow
15
+
16
+ ## Dataset Description
17
+
18
+ This is a merged dataset combining multiple chess piece detection datasets.
19
+
20
+ Comprehensive chess piece detection dataset combining multiple high-quality sources. This merged dataset provides more training data and better generalization for chess piece detection models.
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/merged-chess_pieces_dominique-chess_pieces_roboflow")
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.
data.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ names:
2
+ 0: black-bishop
3
+ 1: black-king
4
+ 2: black-knight
5
+ 3: black-pawn
6
+ 4: black-queen
7
+ 5: black-rook
8
+ 6: white-bishop
9
+ 7: white-king
10
+ 8: white-knight
11
+ 9: white-pawn
12
+ 10: white-queen
13
+ 11: white-rook
14
+ nc: 12
15
+ source_datasets:
16
+ - chess_pieces_dominique
17
+ - chess_pieces_roboflow