What a camera needs to see a wrinkle on a corrugated preprint
A crease needs highlight or shadow. Light that is too flat will miss it. A steady sight needs about 3 pixels. If you cannot see it clearly, do not loosen the threshold.
To see a wrinkle on a corrugated preprint, a crease needs highlight or shadow. Light that is too flat will miss it. If you cannot see it, change the light or the resolution first. Do not loosen the threshold first.

If you cannot see it, change the optics first
A diagonal or straight crease, and the ink breaks on the crease. If the image cannot separate them at all, moving the threshold only paints the barcode and the product name solid red. A crease needs highlight or shadow. Light that is too flat will miss it.
Optics
| Need | Enough looks like | Not enough looks like |
|---|---|---|
| A crease needs highlight or shadow. Light that is too flat will miss it. | A diagonal or straight crease, ink broken on the crease. | Only a blurry circle left |
| About 3 pixels across | Shows up steadily | Comes and goes, and you still write that it can be detected |
| Barcode and product name in the field of view | The critical spot is seen | Only the decorative edge is lit |
Try it on a sample
- Confirm the image can separate it: A diagonal or straight crease, ink broken on the crease.
- Count about how many pixels it spans.
- If you cannot see it clearly, change the light or the focus. Do not change the threshold.