AI for Quality Control