File size: 7,319 Bytes
ac62cf0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
---
license: cc-by-4.0
pretty_name: webcheck synthetic print-defect test frames
task_categories:
- object-detection
annotations_creators:
- machine-generated
source_datasets:
- original
size_categories:
- 1K<n<10K
tags:
- synthetic
- anomaly-detection
- industrial-inspection
- blenderproc
- flexible-packaging
configs:
- config_name: A
  data_files:
  - split: test
    path:
    - "A/*.png"
    - "A/metadata.jsonl"
- config_name: B
  data_files:
  - split: test
    path:
    - "B/*.png"
    - "B/metadata.jsonl"
dataset_info:
- config_name: A
  features:
  - name: image
    dtype: image
  - name: camera
    dtype: string
  - name: has_defect
    dtype: bool
  - name: objects
    struct:
    - name: bbox
      list:
        list: float32
        length: 4
    - name: categories
      list:
        class_label:
          names:
            '0': streaks
            '1': dot_skip
            '2': haze
            '3': mottling
            '4': tunneling
            '5': bubbles
            '6': silvering
            '7': wrinkles
- config_name: B
  features:
  - name: image
    dtype: image
  - name: camera
    dtype: string
  - name: has_defect
    dtype: bool
  - name: objects
    struct:
    - name: bbox
      list:
        list: float32
        length: 4
    - name: categories
      list:
        class_label:
          names:
            '0': streaks
            '1': dot_skip
            '2': haze
            '3': mottling
            '4': tunneling
            '5': bubbles
            '6': silvering
            '7': wrinkles
---


# webcheck synthetic print-defect test frames

Synthetic camera frames of a printed flexible-packaging web with labelled print defects. These are the held-out test
frames that the webcheck demo plays on an NVIDIA Jetson Orin Nano: a FOMO-AD anomaly gate followed by a
YOLO-Pro detector, both trained in Edge Impulse. No frame here was used to train either model or to set any threshold.

## Dataset details

### Description

- **Curated by:** Martins Awojide
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **Repository and write-up:** webcheck (links to follow)

Every frame is a render of one fictional product (all brands, logos and codes are placeholders) on a moving web, seen
by one of two cameras placed across the web (`left`, `right`). There are two placements, each its own configuration:

| Config | Placement | Film | Frames | Frames with a defect | Boxes | Classes present |
|---|---|---|---|---|---|---|
| `A` | press side, before lamination | outer PET with reverse-printed ink | 553 | 157 | 175 | 4 |
| `B` | slitter side, cured laminate | PET / reverse-printed ink / AlOx-coated PET / LLDPE, transflected light | 553 | 294 | 342 | 8 |

Counts are from the COCO files (counted 2026-10-31).

Boxes per class:

| Class | `A` | `B` |
|---|---|---|
| streaks | 48 | 48 |
| dot_skip | 34 | 34 |
| haze | 48 | 42 |
| mottling | 45 | 46 |
| tunneling | – | 48 |
| bubbles | – | 37 |
| silvering | – | 45 |
| wrinkles | – | 42 |

The demo's detector covers six classes (streaks, dot skip, mottling, tunneling, bubbles, silvering). Haze and wrinkles
are labelled here but the demo models do not detect them.

## Uses

- **Intended:** running the webcheck demo (`scripts/run_demo.sh`), and viewing or evaluating detectors of print
  defects on synthetic frames.
- **Not intended:** training. This is a test split only; the train and validation splits are not published. It is not
  a substitute for frames from a real press or slitter.

## Dataset structure

```
A/  553 PNG  metadata.jsonl  manifest.jsonl  _annotations.coco.json  SHA256SUMS
B/  553 PNG  metadata.jsonl  manifest.jsonl  _annotations.coco.json  SHA256SUMS
```

- **PNG frames:** 1920x1080 RGB, 0.5 mm per pixel. File names repeat between `A/` and `B/`; the folder is the
  placement.
- **`metadata.jsonl`:** one line per frame, read by the `datasets` library: `file_name`, `camera`, `has_defect` and
  `objects` (`bbox` as COCO `[x, y, width, height]` in pixels, `categories` as 0-based class indices).
- **`_annotations.coco.json`:** the same boxes in COCO form, with extra per-box fields (`visible_fraction`,
  `truncated`, `area_mm2`, `web_extent_mm`, `attributes.severity_mm`). COCO category ids are 1-based and shared by
  both placements: `A` uses ids 1–4, `B` uses 1–8.
- **`manifest.jsonl`:** one line per frame from the renderer (roll, frame index, camera, offsets on the web, seed).
  The demo reads this file. Its `image_sha256` is the hash of the full-resolution render, not of the PNG here (see
  "How the frames were made").
- **`SHA256SUMS`:** hashes of the PNGs in this repo; check with `sha256sum -c SHA256SUMS` inside each folder.

Class ids:

| Class | `metadata.jsonl` index | COCO `category_id` |
|---|---|---|
| streaks | 0 | 1 |
| dot_skip | 1 | 2 |
| haze | 2 | 3 |
| mottling | 3 | 4 |
| tunneling | 4 | 5 |
| bubbles | 5 | 6 |
| silvering | 6 | 7 |
| wrinkles | 7 | 8 |

### Loading

```python
from datasets import ClassLabel, List, Value, load_dataset

names = ["streaks", "dot_skip", "haze", "mottling", "tunneling", "bubbles", "silvering", "wrinkles"]
a = load_dataset("martinsawojide/webcheck-test-frames", "A", split="test")
# the loader infers plain integers from metadata.jsonl; cast to get the class names
a = a.cast_column("objects", {"bbox": List(List(Value("float32"), length=4)), "categories": List(ClassLabel(names=names))})
```

For the demo, download into a folder named `frames` at the root of the webcheck checkout:

```bash
hf download martinsawojide/webcheck-test-frames --repo-type dataset --local-dir frames
```

## How the frames were made

### Rendering

Rendered with BlenderProc 2.8.0 on its pinned Blender 4.2.1 (Cycles), from the scene scripts in the webcheck
repository (`scripts/render_web_a.py`, `scripts/render_web_b.py`). Each frame is rendered at 5376x3024 (0.18 mm per
pixel) and area-averaged to the 1920x1080 grid the labels use. The only image inputs are the project's own fictional
artwork and texture maps (`design/SKU_01/`); no third-party textures or HDRIs are used.

### Annotations

The boxes are not hand-drawn. The defect layout is planned in code before rendering; each box is that defect's
planned extent, cropped to the frame, then written to COCO. No person annotated the frames.

### Personal and sensitive information

None. The frames show a fictional product rendered from code; there are no people and no real brands.

## Limitations

- Synthetic frames of one fictional product and two film structures. Real presses differ in lighting, motion blur,
  sensor noise, inks and substrates.
- Test split only.
- Haze and wrinkles are labelled but not covered by the demo models.

## Attribution

If you share or adapt these frames, CC BY 4.0 asks for credit. Suggested line:

> "webcheck synthetic print-defect test frames" © 2026 Martins Awojide, licensed under
> [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), provided as-is without warranties.
> Source: https://huggingface.co/datasets/martinsawojide/webcheck-test-frames

If you change the frames, say so.

## Licence

Frames, labels and metadata: CC BY 4.0. The webcheck code that rendered them is MIT, except the Blender scripts,
which are GPL-3.0-or-later; the GPL does not cover the images they produce.