Contamination in the sealing area causes important issues for food companies as it may lead to leakage and consequently reduced shelf life, health issues and even expensive recalls with potential brand damage. As such automatic detection of contaminated seals is important for both food safety and packaging automation. For standard vision systems, detection of contamination in the sealing area is difficult if the sealing film is non-transparent or if there is not enough contrast between the contamination and the film.