Food x-ray inspection systems are designed to detect unwanted physical contaminants in packaged food to maintain a high level of food safety for consumers. Modern day x-ray inspection systems often utilize line scan sensors to detect these physical contaminants but are limited to single or dual energies. However, by using a photon counting detector (PCD), a new generation of food inspection systems capable of acquiring images at more than two energy bins could improve discrimination between low density contaminants. In this work, five type of contaminants were embedded in an acrylic phantom and imaged using a cadmium zinc telluride (CZT) PCD with a pixel pitch of 330 μm. A set of images were acquired while the phantom was stationary, and another set of images were acquired while the phantom was moving to mimic the movement of a conveyor belt. Image quality was assessed by evaluating the contrast-to-noise ratio (CNR) for each set of images. For imaging times larger than 25 ms, the results showed that the moving phantom data set yielded larger CNR values compared to a stationary phantom. While conventional x-ray inspections often utilize line scan sensors, we report that physical contaminant detection is possible with a CZT PCD x-ray imaging system.