The problem
The line uses clear film with a printed label. If the wrong reel is loaded during a changeover, a punnet can end up with the wrong product label. For example, a pack containing red grapes could be labelled as green grapes and reach a supermarket with the mismatch still in place.
How the inspection works
A camera above the conveyor captures each sealed punnet. The inspection software uses a neural network trained on labelled images to recognise the printed label and identify the fruit visible through the clear film. It compares those two results. If they disagree, the system is designed to highlight the mismatch on the display and trigger an alarm so an operator can investigate.
For product training, I record sample labels under controlled lighting so the software can learn what to look for.
The operator display marks the label and the visible grapes separately on the same image so the operator can see what the software is comparing.
