The invention provides
a diamond saw wire fracture prediction method based on
image processing, and the method specifically comprises the steps: reading a photographing content, and reading a to-be-fractured and fractured image of a saw wire; performing gray
processing on the picture; carrying out
edge detection by adopting a Canny operator,
processing the
grayscale image, and extracting the edgeof the
grayscale image; extracting local features of the image by adopting statistical probability
Hough transform to obtain a straight
line segment in the image; extracting polar coordinates of segment selection endpoints; establishing a vector a of a reference coordinate
line segment, and performing included angle calculation on the segment selection vector b obtained in the previous step and the
reference vector a; determining a limit angle
record alpha before the saw wire is broken; detecting the
machining states at different moments, and measuring the saw wire
deflection angle cut by thesaw wire at any time and recorded as [beta]; and comparing [beta] with alpha, wherein if [beta] is infinitely close to [alpha], feeding or
machining of the workpiece is stopped. The method has the beneficial effects that compared with a shot picture drawing angle measurement method, the
time cost is saved, and the efficiency is higher.