Wire electrical discharge machining (WEDM) is a process that removes material from conductive workpieces by using sequential electrical discharges. The morphology of the craters formed by these discharges is influenced by various process parameters and affects the quality and efficiency of the machining. To understand and optimize the WEDM process, it is essential to identify and characterize single craters from microscopy images. However, manual labeling of craters is tedious and prone to errors. This paper presents a novel approach to detect and segment single craters using state-of-the-art computer vision techniques. The YOLOv8 model, a convolutional neural network-based object detection technique, is fine-tuned on a custom dataset of WEDM craters to locate and enclose them with tight bounding boxes. The segment anything model, a vision transformer-based instance segmentation technique, is applied to the cropped images of individual craters to delineate their shape and size. Geometric analysis of the segmented craters reveals significant variations in their contour and area depending on the energy setting, while the wire diameter has minimal influence.
Read full abstract