Metal detectors for the plastics industry