Each local feature in the appearance image of cigarette packs is a key element to reflect the corresponding brand information. If only a single convolutional neural network is used, the context information of sequence data may be lost, resulting in an insufficient grasp of the overall information. In order to realize the deep-level feature extraction of the appearance of cigarette packs and realize the appearance detection of cigarette packs with higher accuracy and speed, a new method for the appearance detection of cigarette packs was proposed by combining the convolutional neural network and the cyclic neural network methods in the deep learning algorithm. The image acquisition card is used to collect the appearance images of cigarette packs, and contrast enhancement and rotation correction are performed on the collected images to effectively improve their quality and provide a good guarantee for subsequent feature extraction and detection. The preprocessed cigarette package image is input into the convolutional neural network to realize the deep-level feature extraction of the cigarette package appearance image. The cigarette package appearance features’ output from the convolutional neural network is input into the short-term and long-term memory unit, as well as the gate-controlled cyclic unit, of the corresponding recurrent neural network, in order to process time sequence information based on the efficient extraction of details from the image, retain the sequence and context information of the input data, and ultimately achieve accurate detection of the cigarette package appearance. Through experimental analysis, this method can effectively identify the appearance defects of cigarette packs, mark them immediately, and present them in an intuitive way, so that staff can quickly locate the problem and take corresponding measures. The method can detect appearance defects larger than [Formula: see text] with high accuracy. For various appearance defects, the detection rate can be guaranteed to be over 98%, providing strong support for quality control and product upgrading in the tobacco industry.
Read full abstract