A real-time and offline weld defect detection framework using planar EMT with selective measurement and deep learning | Synapse