Smart Intelligent Framework for Quality Inspection Digitalization