What a camera needs to see a streak on a cosmetics carton
To see a streak on a cosmetics carton, the line has to run for several pixels. If it breaks up, check focus first. If you can't see it, change the light or the resolution first. Don't loosen the threshold first.
To see a streak on a cosmetics carton, the line has to run for several pixels. If it breaks up, check focus first. If you can't see it, change the light or the resolution first. Don't loosen the threshold first.

If you can't see it, fix the optics first
A continuous light or dark line in one direction. If the image can't separate it at all, changing the threshold only paints the brand color of the cosmetics carton red. The line has to run for several pixels. If it breaks up, check focus first.
Optics
| Need | Enough | Not enough |
|---|---|---|
| The line has to run for several pixels. If it breaks up, check focus first. | A continuous light or dark line in one direction. | Only a blurry circle left |
| About 3 pixels across | Shows steadily | It comes and goes, and you still log it as detectable |
| The brand color is in the field of view | The critical spot is seen | You only light the decorative edge |
Try it on a sample
- Confirm you can separate it in the image: A continuous light or dark line in one direction.
- Count about how many pixels it covers.
- If you can't see it clearly, change the light or the focus. Don't change the threshold.