Abstract:A copper wire laying monitoring system based on STM32 was designed to address the industrial production issues caused by the deviation and tilting of copper wires during the laying process of flat copper wires wrapped on I-shaped wheels in industry. The system matched the color of copper wire through the corrosion center algorithm, tracked the copper wire in real-time, determined the position of the copper wire and its width on the LCD screen, and detected the offset or tilt of the copper wire, providing data for subsequent copper wire correction. The system used MT9V034 camera as the image acquisition module, LCD display screen as the image display module, STM32H743 and serial port screen as the control module and human-machine interaction module, respectively. The experimental results show that the system can effectively detect the offset and tilt of copper wires while tracking them and the measurement error for line width is within 5 px.