Study on Visual Detection of Missing Pipeline of Liquid Bag Assembly of Bag Infusion Device
Manual quality inspection of the liquid bag assembly will bring quality inspection risk due to subjectivity and fatigue and also reduce the automation degree of the production line.To solve this problem,the machine vision system is adopted to inspect the assembly quality of the lanyard and dosing two passes of liquid bag components.The image acquisition assisting mechanism is designed to solve the problem of difficult image acquisition due to the unfixed shape of the liquid bag assembly;based on determining the defect detection strategy,the Canny algorithm is selected to extract the clear contour of the liquid bag pipeline area in the shortest time,which saves 160~520 ms compared with other algorithms;using the virtual straight-line method,combined with the region of interest(ROI)selected by this paper based on the location characteristics of the outer rectangular box of the contour,the statistics of the number of contours are completed,and the defect detection goal is finally realized.Experiments show that the pipeline defect detection rate of 100%,the maximum detection time of 438 ms,and the detection of a group of liquid bag components need only 1.75 s,much smaller than the factory production line production of a group of liquid bag components of a single station working time of 8 s.The method can replace the existing manual visual inspection,which reduces the cost of enterprise employment.