Russian pipe maker Pipe Metallurgical Company TMK) has introduced machine vision technology at the Seversky Pipe Plant for movement control and for counting finished pipe products. Digital solutions improve accuracy and significantly speed up inspection operations, as well as automate data collection.The projects were implemented in cooperation with the Scientific and Technical Center of TMK in Moscow, where a competence center for digitalization has been formed. The machine vision algorithm is used in the pipe-electric welding shop when counting pipes in packages formed for shipment to the customer. The solution replaced the time-consuming manual counting of products by sorters-suppliers. The "Machine Vision" program is installed on the employee's smartphone, which analyzes photos of the ends of packages with pipes and displays the result on the screen. Two photos are enough to count the system, the algorithm allows you to recognize pipes both in the shade and in lighter areas.Another solution is implemented in the pipe rolling shop of STZ and is used to track the movement of pipe packages when finished products are shipped to wagons. Images of product packages are recorded by video cameras installed on cranes at pipe shipment sites and transmitted to the database. This information is used in the automatic formation of a package of documents and quality certificates of products ready for shipment. Control over the movement of the order until the moment of loading into the car eliminates the influence of the human factor.