The invention relates to the technical field of surface defect detection, in particular to a
casting surface defect real-time detection method and
system.The
casting surface defect real-time detection method comprises the following steps that based on
optical scanning data, three-dimensional coordinate points of
casting surface textures are collected, a three-dimensional casting model is constructed through coordinate fitting, optical analysis is conducted on the surface of the three-dimensional casting model, and a casting surface defect real-time detection result is obtained. Recognizing the surface
granularity and irregular textures, and establishing a casting surface feature map. According to the method, fine analysis of surface
granularity and texture is optimized, early recognition of tiny defects is achieved, the recognition capability of diversified defects is enhanced through clustering
algorithm classification, the key lies in that the method can adapt to various complex scenes, the adaptability in the production process is improved, the response speed in the production process is increased through real-time monitoring and
data analysis, and the production efficiency is improved. And the
downtime and the
rejection rate caused by defects are reduced, and
time sequence analysis is introduced, so that the long-term quality trend is visualized, an enterprise is assisted to implement a
preventive maintenance strategy, and major quality accidents and cost waste are avoided.