File size: 1,568 Bytes
3316158
8b80d1a
 
 
 
 
 
 
 
 
 
3316158
8b80d1a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
license: cc0-1.0
task_categories:
  - object-detection
tags:
  - welding
  - defect-detection
  - manufacturing
  - coco
  - yolo
pretty_name: Welding Defect Object Detection (YOLO + COCO)
---

# Welding Defect Object Detection

2,028 annotated images of welds for defect detection, in **both YOLO and COCO
formats**. Three classes:

| id (YOLO / COCO) | name |
|---|---|
| 0 / 1 | Bad Weld |
| 1 / 2 | Good Weld |
| 2 / 3 | Defect |

## Splits

| split | images | annotations |
|---|---|---|
| train | 1,619 | 4,583 |
| valid | 283 | 802 |
| test | 126 | 301 |

## Layout

```
├── data.yaml            # YOLO class names + split paths
├── train|valid|test/
│   ├── images/          # .jpg
│   └── labels/          # YOLO .txt (class cx cy w h, normalized)
└── coco/
    ├── train.json       # COCO detection format
    ├── valid.json
    └── test.json
```

## COCO conversion notes

The `coco/` jsons were generated from the YOLO labels with the
[flux](https://github.com/rikkarth) YOLO→COCO converter:

- bbox = `[x_min, y_min, width, height]`, float pixels
- boxes clamped to image bounds
- category ids are one-based (YOLO class 0 → COCO id 1)
- annotation count parity verified: 5,686 YOLO label lines → 5,686 COCO annotations

## Source & license

Original dataset published on Kaggle by sukmaadhiwijaya as
[Welding Defect - Object Detection](https://www.kaggle.com/datasets/sukmaadhiwijaya/welding-defect-object-detection)
under **CC0: Public Domain**. This mirror adds the COCO-format annotations.