In this paper, a special design system is developed based on the design of the packaging bottle to achieve the effective acquisition of the image of the cross-section of the packaging bottle to be measured under the condition of limited space size, avoiding the distortion of the object to be measured. At the same time, the image of the area where the target packaging bottle is located is segmented, and the curve features are quickly determined and effectively matched with the template library to realize the recognition of the shape features of the bottle. In this paper, the design of the packaging bottle is first designed by mechanism design and 3D modeling, followed by rapid prototyping methods such as 3D printing, and the prototype is made for functional verification. Finally, the transmission speed and stability of the design system for packaging bottle recognition are improved through structural analysis and optimization methods. To realize the intelligent control of the packaging bottle transmission and identification system, the hardware control circuit is designed and the relevant intelligent control program is prepared based on the embedded system so that the packaging bottles in the transmission process can be quickly and accurately positioned and identified. An improved AdaBoost algorithm is proposed for packaging bottle detection. In the process of algorithm learning, the Haar features are too large and time-consuming, and the training sample is cropped to remove the sample edge pixels, which effectively reduces the number of features, thus reducing the computation. The proposed optical flow method is used to obtain the motion region in the video image as the region of interest, and the canny operator is used in the region of interest for edge detection, and the region of interest is filtered by the edge energy to exclude the noninterest region. Finally, the AdaBoost algorithm is used to detect the region of interest, which reduces the detection area and decreases the detection time. The improved AdaBoost algorithm has a high accuracy improvement over the traditional AdaBoost algorithm for the recognition of various packaging bottles with relatively suitable training set samples, and the system recognition time has reached the requirements of industrial recognition.
Read full abstract