mohsinarf commited on
Commit
8defea2
·
verified ·
1 Parent(s): 76018e2

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +110 -0
README.md CHANGED
@@ -1,3 +1,113 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - object-detection
5
+ tags:
6
+ - yolo
7
+ - obb
8
+ - oriented-bounding-box
9
+ - cubes
10
+ - robotics
11
+ - pick-and-place
12
+ pretty_name: Cube Detection on Monopoly Board Background (OBB)
13
+ size_categories:
14
+ - n<1K
15
  ---
16
+
17
+ # Cube Detection on Monopoly Board Background (OBB)
18
+
19
+ A small oriented-bounding-box (OBB) detection dataset of colored cubes placed on a Movensys "Monopoly" board background. Intended for fine-tuning YOLO-style OBB detectors used in pick-and-place / robotic manipulation pipelines.
20
+
21
+ ## Classes
22
+
23
+ | ID | Name |
24
+ |----|--------------|
25
+ | 0 | green_cube |
26
+ | 1 | yellow_cube |
27
+ | 2 | blue_cube |
28
+ | 3 | red_cube |
29
+
30
+ ## Splits
31
+
32
+ | Split | Images | Labels |
33
+ |-------|--------|--------|
34
+ | train | 104 | 104 |
35
+ | val | 29 | 29 |
36
+ | test | 16 | 16 |
37
+ | **total** | **149** | **149** |
38
+
39
+ ## Image format
40
+
41
+ - Resolution: 1280 × 720, RGB JPEG
42
+ - Captured from a top-down camera over a printed Movensys Monopoly board, with colored cubes placed at varying positions and orientations
43
+
44
+ ## Label format
45
+
46
+ YOLO OBB — one row per object, 9 values:
47
+
48
+ ```
49
+ class_id x1 y1 x2 y2 x3 y3 x4 y4
50
+ ```
51
+
52
+ All polygon coordinates are normalized to `[0, 1]` relative to image width/height. Vertices are given in order around the box.
53
+
54
+ Example (`train/labels/00001.txt`):
55
+ ```
56
+ 0 0.0522 0.1119 0.1013 0.0214 0.1529 0.1101 0.1038 0.2005
57
+ 3 0.2423 0.0615 0.3122 0.0615 0.3122 0.1869 0.2423 0.1869
58
+ ```
59
+
60
+ ## Directory layout
61
+
62
+ ```
63
+ .
64
+ ├── dataset.yaml
65
+ ├── train/
66
+ │ ├── images/ # *.jpg
67
+ │ └── labels/ # *.txt
68
+ ├── val/
69
+ │ ├── images/
70
+ │ └── labels/
71
+ └── test/
72
+ ├── images/
73
+ └── labels/
74
+ ```
75
+
76
+ ## Usage
77
+
78
+ ### Download
79
+
80
+ ```bash
81
+ hf download movensys/cube-detection-monoply-background-obb \
82
+ --repo-type dataset \
83
+ --local-dir ./cube-detection-monoply-background-obb
84
+ ```
85
+
86
+ ### Train with Ultralytics YOLO (OBB)
87
+
88
+ After download, update the `path:` field in `dataset.yaml` to point at the local copy:
89
+
90
+ ```yaml
91
+ path: /absolute/path/to/cube-detection-monoply-background-obb
92
+ train: train/images
93
+ val: val/images
94
+ test: test/images
95
+ names:
96
+ 0: green_cube
97
+ 1: yellow_cube
98
+ 2: blue_cube
99
+ 3: red_cube
100
+ ```
101
+
102
+ Then:
103
+
104
+ ```python
105
+ from ultralytics import YOLO
106
+
107
+ model = YOLO("yolo11n-obb.pt")
108
+ model.train(data="dataset.yaml", epochs=100, imgsz=1280)
109
+ ```
110
+
111
+ ## License
112
+
113
+ Released under the MIT License.