Researchers have significantly enhanced an artificial intelligence tool used to rapidly detect bacterial contamination in food by eliminating misclassifications of food debris that looks like bacteria. Current methods to detect contamination of foods such as leafy greens, meat and cheese, which typically involve cultivating bacteria, often require specialized expertise and are time-consuming—taking several days to a week.