In this paper, the authors present an image processing application in industry. Specific task is to count the number of bar in a bunch of steel. The counting is automatically done ically in the process of weighting and packing. The images of steel bars are captured by a high-speed camera and then processed using a program to identify and counting. The camera is connected to a PC. One can be set up in a number of steel bar in a bunch by program management on the host PC. The data consists of a bunch of steel types, number of bars, weight of bunch, name of shift leader,... are stored in the database of the computer. This data is printed out barcode-label for hanging on each bunch of steel, which helps to manage, convenient sales. In this paper, the authors also present an ability to count the number of steel bar in the each bunch after packing in the sections of product lines without counting the bundles and split automatically.