Abstract
To solve the problem that the presence of foreign matters in cosmetics will affect the safety and health of consumers and is not conducive to the development of the cosmetics industry, an intelligent identification system for foreign matters in cosmetics is established using the improved BP algorithm. Scan cosmetic samples to identify foreign matters and extract foreign matter features, so as to achieve non-destructive detection of foreign matters in cosmetics. Comparing the traditional BP algorithm, Faster R-CNN algorithm and the improved BP algorithm, the results show that the convergence time of the improved BP algorithm is 60 s and 30 s earlier than that of the traditional BP algorithm and Faster R-CNN algorithm respectively; Whether there is noise or not, the recognition rate of the improved BP algorithm is always higher than that of the traditional BP algorithm and Faster R-CNN algorithm. The accuracy rate of the improved BP algorithm is between 0.88 and 0.96, the accuracy rate of the traditional BP algorithm is between 0.57 and 0.75, and the accuracy rate of the Faster R-CNN algorithm is between 0.76 and 0.81. This shows that the improved BP algorithm can realize the nondestructive detection of foreign matters in cosmetics, ensure a high accuracy and fast speed, and provide consumers with a sense of safe use of cosmetics, it can also improve consumers’ satisfaction with the use of cosmetic products.
Subject
Computational Mathematics,Computer Science Applications,General Engineering