The present invention discloses a method and device for detecting
sizing yarn hitting the reed based on
image processing, which belongs to the field of
sizing yarn, and includes: pre-
processing the
sizing yarn hitting the reed image to be tested by main direction
texture filtering, setting irrelevant pixels to zero, and obtaining the
region of interest; extracting the deep feature map by multi-scale fusion of the reed coil features by
feature extraction neural network, and obtaining the reed
coil structure enhanced feature map by the reed
coil structure information attention mechanism; inputting it into the detection frame generation neural network to generate an elliptical detection frame, and obtaining the detection result according to the elliptical detection frame. The main direction
texture filtering is used to effectively remove the
background noise of the sizing yarn hitting the reed image to be tested, and the
feature extraction neural network and the reed
coil structure information attention mechanism are combined to extract features, and then an elliptical detection frame is generated to perform sizing yarn hitting the reed detection, which effectively avoids
noise interference, improves the detection accuracy of sizing yarn hitting the reed, and can stably perform detection in complex environments, with strong robustness.