Instruments & Meters

Cleaner Carton Photos, Unchanged Labels: Why an Independent Reference Decides

A German online shop's case shows a generative model silently altering legally required label text, and how deterministic processing plus an OCR diff and a pixel-level ink check caught what visual review missed.

Petra DahlbergOctober 25, 20265 min read4 views
A phone photograph of a plain carton back panel beside a flattened white-background version of the same panel, with a magnifier and comparison lines over abstract printed marks.

Justin Flick, writing for SOMUVA UG (haftungsbeschränkt), the Lüdenscheid, Germany, company behind the German-language online shop vapechamp.de, has published an account of a small imaging project with an outsized lesson: an automated result is only as trustworthy as the independent reference it was checked against.

The trigger was an argument by Gleb Tsipursky in “AI Inspection Needs A Disagreement Audit Before Quality Teams Scale It” (Metrology News, 15 September 2026) that quality leaders should measure disagreements between automated inspection and qualified human judgment before cutting human review. Flick's case sits outside the factory, but he says the principle transferred directly.

The measurand was the printed text

The task was to turn phone photographs of carton back panels into clean, straightened images on a white background for product pages. Those panels carry legally required information—manufacturer and importer names and addresses, warning texts—alongside contact details such as phone numbers. The images could be improved; the information on them could not change. In measurement terms, Flick writes, the measurand was the printed text rather than the appearance of the image.

A convincing output that failed comparison

The first attempt used a generative image model, given a straightened carton image and an explicit instruction to keep every printed character, number and symbol identical. The output looked professional: sharp print, even light, a clean background. Comparison with the source told a different story. The digits “2801” had become “2001”; a phone number contained wrong digits; a comma had turned into a full stop and, elsewhere, a full stop into a comma.

None of the changes was easy to spot at a glance because each was plausible. For mandatory information that is not a cosmetic issue, so the generated images were discarded and none was published. Flick's conclusion is that a generative model produces what text plausibly looks like, not what was printed, and that visual inspection is a weak check against plausible errors—which is precisely why it cannot serve as the reference.

Deterministic processing from photographed pixels

The replacement was a deterministic chain. The carton face is rectified with a perspective transform from four corner points. Uneven lighting is flattened by estimating the background illumination and dividing it out, followed by white balancing to a target tone. Denoising is gentle and edge-preserving, and text blocks are marked as protected regions in which pixels pass through background clean-up unchanged. The result is placed on a white background with a soft shadow. Nothing on the carton is redrawn or re-typeset; every character in the final image derives from photographed pixels.

Two measurement principles and a gate before publication

For each image the team kept a reference: the same crop after rectification and the illumination and white-balance step only, before denoising or clean-up. Each processed carton face was compared with that reference, before being placed on the background, using two different principles. The first is an OCR diff: both images are read by an open-source OCR engine with German and English language data after upscaling, the resulting word sequences are aligned, and every deviation is listed. The second is an ink check that does not depend on reading text at all—pixels clearly darker than the carton background in the reference count as print, and if such pixels become light in the processed image and most of a connected group disappears, the group is flagged as a lost character.

The gate showed that classical filters are not automatically safe. A speckle filter had turned “130” into “30” and removed colons; a threshold clean-up step had erased the dot in a web address. Both stages were dropped. Flick's formulation: any step that decides what counts as noise can decide that a full stop is noise.

The checker has its own uncertainty

An OCR diff is itself a measurement system with its own error. On small print it misread the reference too, for example reading a “5” as an “S”, so a raw diff reports disagreements the processing did not cause. Taken at face value these produce false rejects; ignored wholesale they hide real changes, producing false accepts. Flick draws the analogy with a gauge study: before attributing variation to the part, the variation of the measurement system is separated out. Here the OCR's misreads of the reference had to be separated from changes introduced by processing, and a second independent principle plus a separate review step did that work. He links this to Tsipursky's third step—identifying the source of a disagreement rather than assuming the person or the model must be wrong—and states the principle as treating each disagreement as a stop to be resolved, not a similarity score to be averaged away.

Second review, backups and the published file

A separate automated review, independent of the processing chain, checked the images in two rounds. In the first round a composite image failed because one inserted line could not be verified reliably; the composite was removed and the genuine information block from the carton used instead. The previous state was backed up before any image was replaced. After publication the files were downloaded as delivered and compared with the team's own: at reduced resolution the mean absolute greyscale difference was well under one grey level. The published file, Flick argues, is the last link in the chain and deserves the same check as every step before it.

What the case supports and what it does not

The practical list the author draws up for quality teams is short and procedural: define the measurand; keep a separate reference image from the earliest reliable processing step and never compare an output only with itself; use two measurement principles such as an OCR text diff and a pixel-level ink check; characterise the OCR's own errors on the reference before trusting its verdicts; treat any disagreement as a stop rather than a score; test classical filters as rigorously as AI tools; add an independent second review and remove what cannot be verified; back up before every change and pixel-compare the published files; and improve the input with frontal, unwrapped, frame-filling photos taken in daylight.

The boundaries matter as much as the findings. This is one small shop's workflow, not a controlled study, and the figures reported are the ones the author chose to publish. The conclusion is not that generative models are unfit for image work: Flick keeps them for images where nothing has to be read. The claim is narrower—for images carrying mandatory information, the team now uses classical processing plus a text comparison against the original, with every disagreement resolved before publication.

He closes on Tsipursky's question for quality leaders: when the machine and a qualified person disagree, do we know who was right, why, and what was changed afterward? For processed images, Flick says, the question is the same, and the answer is wanted before anything is published.