An inspection robot counts bright parts on a belt with a four-stage image pipeline. Today it reports dozens of tiny parts, or one part when there are two, or the floor instead of the parts.
The last picture is wrong in every case. You will look at the picture after each stage to find the first one that is wrong, and fix it.