Abstract:Reverse machining and reprocess of special-shaped glass need to identify and locate the glass.In order to realize glass identification,positioning automatic,on the basis of OpenCV graphics visual library,special-shaped glass identification system was designed.The system was divided into three parts,namely pre-processing module,recognition module and data output module.On the basis of analyzing the characteristics of the glass image,the image enhancement was realized through the method of the fog treatment.In the image recognition and output module,according to the characteristics of the glass image,adding corresponding criteria,the process was completely adaptive,the recognition result was more accurate,the production efficiency of glass deep processing equipment could be improved.