SMART Quality Control for Manufacturing