The timeliness of the complex automated diagnostics of the metal condition for all characteristics has been substantiated. An algorithm for the automation of metallographic quality control of metals is proposed and described. It is based on the use of neural networks for recognizing images of metal microstructures and a precedent method for determining the metal grade. An approach to preliminarily process the images of metal microstructures is described. The structure of a neural network has been developed to determine the quantitative characteristics of metals. The results of the functioning of neural networks for determining the quantitative characteristics of metals are presented. The high accuracy of determining the characteristics of metals using neural networks is shown. Software has been developed for the automated recognition of images of metal microstructures, and for the determination of the metal grade. Comparative results of carrying out metallographic analysis with the developed tools are demonstrated. As a result, there is a significant reduction in the time required for analyzing metallographic images, as well as an increase in the accuracy of determining the quantitative characteristics of metals. The study of this problem is important not only in the metallurgical industry, but also in production, the maritime industry, and other engineering fields.