Resumen
The creation and training of artificial neural networks with a given accuracy makes it possible to identify patterns and hidden relationships between physical and technological parameters in the production of unique building materials, predict mechanical properties, and solve the problem of detecting, classifying, and segmenting existing defects. The detection of defects of various kinds on elements of building materials at the primary stages of production can improve the quality of construction and identify the cause of particular damage. The technology for detecting cracks in building material samples is of great importance in building monitoring, in pre-venting the spread of defective material. In this paper, we consider the use of the YOLOv4 convolutional neural network for crack detection on building material samples. This was based on the creation of its own empirical database of images of samples of aerated concrete. The number of images was increased by applying our own augmentation algorithm. Optimization of the parameters of the intellectual model based on the YOLOv4 convolutional neural network was performed. Experimental results show that the YOLOv4 model developed in this article has high precision in defect detection problems: AP@50 = 85% and AP@75 = 68%. It should be noted that the model was trained on its own set of data obtained by simulating various shooting conditions, rotation angles, object deformations, and light distortions through image processing methods, which made it possible to apply the developed algorithm in practice.