Real-Time AI in Manufacturing: Enhancing Autonomous Quality Control