Inline x-ray Automated Inspection