X-ray inspection for packaged food