Halcon Based Detection Method for Wire Breakage Defects in Metal Hoses
A Halcon based external wire breakage defect detection system for metal hoses was designed to address issues such as difficulty in manual detection of wire breakage in the existing metal hose mesh sleeve and the impact of decreased atten-tion during long-term work on detection efficiency and accuracy.The lighting method of the image was determined and the camera was used to capture image effects that are conducive to analysis and processing.In Halcon,the image was first preprocessed,followed by threshold segmentation and extraction of surface wire breakage defects.The shape of the damaged area was trans-formed into a regular shape for easy measurement.Finally,the size of the damaged area and the size of the hose were measured and displayed in the picture frame.Experimental results show that this method can clearly detect the damaged position of the metal hose and measure the size.Through measurements of five metal hose wire breakage defect parts with different diameters and defect positions and sizes,it is known that the maximum error generated when using this method for measurement is 0.22 mm,better than broken wire detection accuracy(0.5 mm),which meets the detection requirements.
metal hosebroken wire detectionimage processingthreshold segmentationmorphological processingparame-ter measurement