Vision Lab
Solve problems where a judgment is made from an image, and don't stop at the model's score: carry it through to the decision the score changes. Rules, pre-trained models and fine-tuning compete in turn, the threshold between pass and re-inspect is set from costs, and you run the rule that stops the line when the lighting changes. The goal is not to know many model architectures but to measure how one score changes an inspector's workload and the cost of missed defects.
- Status
- Updated 2026-11-17 KST · 1 of 1 units written. A one-page plan is written. Its structure and decisions are not yet agreed and may change. The first volume is a recommended candidate, and the plan includes results from a trial run of that candidate
- Size
- A 3-unit common volume V00 plus a 37-unit first volume V01, 40 units in all, each a 60 to 90 minute session. V01 includes one volume map and seven part maps. The unit count may change when the plan is reviewed before writing
- Audience
- Practitioners such as data scientists, ML engineers and quality and production engineers. You should be able to read Python, and the CNN units of DL Lab help. Without them, start with the short basics unit inside the volume
- Cases
- danny22 Factory, the manufacturing subsidiary of the fictional holding company danny22.com. The company, people, costs and field defect rate are made up and unrelated to real companies. The images are real public data (Amazon's VisA, plus Bosch's synthetic texture dataset DAGM 2007 for an advanced exercise). Only the missing parts are synthesized, and the course says what was added
- Language
- The course material is written in Korean
- Access
- vision-lab.danny22.com is open to signed-in readers and holds only the plan for now. Get in touch to request access
What you learn
- The shape of a vision problem: split problems along five axes: what output is needed (classification, detection, segmentation or an anomaly map), how many labels exist, where the judgment runs, which decision it feeds and what changes over time.
- A method ladder, from the bottom rung: start with rules that compare against normal images, move to pre-trained features with nearest-neighbor distance that learn from normal images alone, then use a few dozen defect images for a linear probe and fine-tuning. A method must beat the rung below before you climb.
- From score to decision: choose the pass and re-inspect threshold from the cost ratio of a missed defect to one re-inspection, and decide when to stop the line from the re-inspect rate together with input brightness. See how numbers shift when a public test set's balance differs from the field defect rate.
- When conditions change: build test sets with altered brightness, color temperature and blur before seeing results, then measure with a fixed threshold whether re-inspections pile up or defects are missed silently. Decide whether fixing the lighting in the process comes before retraining.
- Operations and looking back: a batch job that judges a day's images, a re-inspection screen for inspectors, monitoring and stopping on the re-inspect rate, and resetting thresholds from labels that arrive late, then comparing the decision record with what happened.
What a unit contains
- Theory: concepts, reasons and numbers measured on this machine.
- Notebook: run it yourself against the same test set, ending in a check cell that judges the result.
- Pipeline code: the same work at operating scale. Each unit is marked core or advanced and fills at least one cell of the canvas that records what was decided while solving the problem.
Course
Vision Lab is a problem lab. It has a common volume, V00, shared by every volume, and one volume for each subsidiary problem. A volume solves one problem once around Data Culture Lab's common skeleton, from finding the problem to looking back. Units are numbered volume-part-chapter (V01-P02-C04), and 00 at each level is the map: V01-P00 is the volume map, and C00 in each part is that part's map. DL Lab covers how neural networks, CNNs and transformers work, and ML Lab covers evaluation metrics and how to make ground truth. This lab applies them to image judgment and carries them through to the decision.
The first volume candidate, V01, is visual inspection at the factory. Each part is either passed or sent for re-inspection, and the line stops when the re-inspect rate jumps. VisA has no injection-molded parts, so the volume uses molded candles and an assembled PCB as "similar molded and assembled products". The images carry no time, mold or inspector judgments, so the operations stage replays images in a made-up date order with a planted lighting change, and says that it is staged. Further volumes are added when more problems where images are the core data come up.
| Part | What you learn | Units |
|---|---|---|
| V00-P00 Common | Course overview, a map that splits vision problems along five axes, and a workflow that pins image and weight versions and starts large jobs after a memory plan | 3 |
| V01-P00 Factory visual inspection map | The map of this volume: the subsidiary and its decision, the order of the seven parts and their lifecycle stages, what carries over from V00, and what this volume leaves behind | 1 |
| V01-P01 Finding the problem | Why the quality team raised the problem, a metric tree that breaks down escaped defects, root causes, and choosing from the bottom of the solution ladder | 5 |
| V01-P02 Baseline and data | The baseline of full inspection by inspectors, pinning the image version, examining labels, field ratios and missing information, and short image basics | 6 |
| V01-P03 Judgment design | Choosing the task from the output the decision needs, the three decisions (pass, re-inspect, stop) and their thresholds, and a test plan with condition-change sets built in advance | 4 |
| V01-P04 Method ladder | Rules, pre-trained features with nearest neighbors, memory reduction and a library comparison (advanced), fine-tuning on a few dozen defects, locating defects, and where and how fast to run | 7 |
| V01-P05 Evaluation | Measuring "is the model right" and "did the decision improve" separately, whether the conclusion holds as the cost ratio changes, and stress tests for new conditions | 4 |
| V01-P06 Verification, approval and operations | Independent verification and approval documents, the inspection batch job, the re-inspection screen, monitoring and stopping, and late labels and recalibration | 6 |
| V01-P07 Looking back | Comparing the decision record with results, common failures in this problem, rolling out to other lines, and the next volume | 4 |
The first volume candidate was chosen after one trial run on this machine. Rules did not beat pre-trained features, and once a few dozen defect labels were available, methods that use them won again. The effect of a lighting change varied widely by method and threshold, and in some cases it did not show up in the re-inspect rate at all while defects were missed silently. The numbers will be measured again in notebooks when the units are written.