Method for identifying cosmetics based on infrared spectrum technology
Technical Field
The invention relates to a method for identifying cosmetics based on infrared spectrum technology.
Background
At present, the high-speed development of the cosmetic industry, the cosmetic safety problem attracts more and more attention, and especially the authenticity problem. At present, cosmetic counterfeiting means are continuously updated, authenticity is difficult to distinguish from packaging, texture and smell, and the method for authenticating the authenticity of the cosmetic is few at present, and no related national standard detection method exists. The existing identification methods have long detection period and are complicated, and the authenticity of the cosmetics cannot be identified rapidly. Meanwhile, as a cosmetic manufacturer, a simple method is urgently needed to identify the quality of the produced cosmetics, so that the quality control of the cosmetics of the manufacturer is facilitated.
Disclosure of Invention
The invention provides a method for identifying cosmetics based on infrared spectrum technology, which adopts the following technical scheme:
a method for identifying cosmetics based on infrared spectroscopy technology, comprising the steps of:
establishing a cosmetic fuchsin external spectrum chart library, wherein the infrared spectrum library comprises reference infrared spectrograms of a plurality of varieties of genuine cosmetics;
acquiring an infrared spectrogram of the cosmetic to be detected;
identifying a reference infrared spectrogram of the genuine cosmetic corresponding to the cosmetic to be detected from the infrared spectrogram library;
and comparing the infrared spectrogram with the reference infrared spectrogram, and judging the quality of the cosmetics to be detected according to the comparison result.
Further, the cosmetics to be examined include powdery cosmetics and liquid cosmetics.
Further, the cosmetics to be detected are powdery cosmetics;
the specific steps of acquiring the infrared spectrogram of the cosmetic to be detected are as follows:
adding the cosmetics to be detected into dry KBr powder, and mixing to obtain mixed powder;
fully and uniformly grinding the mixed powder;
compressing the ground mixed powder into transparent flakes through an oil press;
and (5) putting the transparent thin sheet into an infrared spectrometer for measurement to obtain an infrared spectrogram.
Further, the mass ratio of the cosmetic to be tested and KBr powder in the mixed powder is 0.01 to 0.04.
Further, the particle size of the milled mixed powder was 2 microns.
Further, the cosmetics to be detected are liquid cosmetics;
the specific method for acquiring the infrared spectrogram of the cosmetic to be detected comprises the following steps:
wiping the surface of the ZnSe sheet by alcohol;
after the cosmetics are dried, dripping cosmetics to be detected on the surface of the ZnSe sheet by a pipetting gun and uniformly coating the cosmetics;
and (3) putting the ZnSe sheet into an infrared spectrometer for measurement to obtain an infrared spectrogram.
Further, the concentration of alcohol is 95%;
dripping 0.1-1 microliter of cosmetics to be detected into ZnSe tablet.
Further, the specific method for comparing the infrared spectrogram with the reference infrared spectrogram and judging the quality of the cosmetics to be detected according to the comparison result comprises the following steps:
calculating the similarity of the infrared spectrogram and the reference infrared spectrogram;
and judging the quality of the cosmetics to be detected according to the similarity.
Further, the specific method for comparing the infrared spectrogram with the reference infrared spectrogram and judging the quality of the cosmetics to be detected according to the comparison result comprises the following steps:
calculating the similarity of the infrared spectrogram and the reference infrared spectrogram;
setting a key zone;
calculating local similarity of the infrared spectrogram and the reference infrared spectrogram on a key region;
and judging the quality of the cosmetics to be detected according to the similarity and the local similarity.
The method for identifying the cosmetics based on the infrared spectrum technology has the advantage that the quality of the cosmetics is identified by comparing the infrared spectrum of the cosmetics to be detected with the corresponding reference infrared spectrum of the genuine products. Greatly reduces the time required by identification, has convenient operation and high identification efficiency.
The method for identifying the cosmetics based on the infrared spectrum technology has the advantages that when the infrared spectrum technology is compared with the reference infrared spectrum, the overall similarity is calculated, the key interval is set, the similarity of the spectrograms of the key interval is calculated independently, and the accuracy of the cosmetic identification is improved.
Drawings
FIG. 1 is a schematic illustration of a method of identifying cosmetics based on infrared spectroscopy of the present invention;
FIG. 2 is a schematic diagram showing the comparison of infrared spectra of a first cosmetic to be tested and a genuine cosmetic according to the present invention;
FIG. 3 is a schematic diagram showing the comparison of infrared spectra of the cosmetics to be tested II and the genuine cosmetics according to the present invention.
Detailed Description
The invention is described in detail below with reference to the drawings and the specific embodiments.
As shown in fig. 1, the method for identifying cosmetics based on infrared spectrum technology of the present invention comprises the following steps: s1, establishing a cosmetic fuchsin external spectrum chart library, wherein the infrared spectrum chart library comprises reference infrared spectrograms of a plurality of varieties of genuine cosmetics. S2, acquiring an infrared spectrogram of the cosmetic to be detected. And S3, identifying a reference infrared spectrogram of the genuine cosmetic corresponding to the cosmetic to be detected from the infrared spectrogram library. And S4, comparing the infrared spectrogram with the reference infrared spectrogram and judging the quality of the cosmetics to be detected according to the comparison result. According to the steps, the quality of the cosmetics to be detected can be rapidly judged by comparing infrared spectrograms of the cosmetics to be detected and the genuine cosmetics. The above procedure is specifically described below.
And S1, establishing a cosmetic fuchsin external spectrum chart library, wherein the infrared spectrum library comprises reference infrared spectra of a plurality of varieties of genuine cosmetics.
Firstly, collecting infrared spectrograms of a plurality of varieties of genuine cosmetics as reference infrared spectrograms, and storing the reference infrared spectrograms in a database. Cosmetic products currently on the market include powdered cosmetics such as foundations, and liquid cosmetics such as moisturizing water and the like.
For powdery cosmetics, the infrared spectrogram collecting step comprises the following steps: and adding the genuine cosmetics into the dried KBr powder, and mixing to obtain mixed powder. The mass ratio of the genuine cosmetic to KBr powder is 0.01 to 0.04. In the present invention, 2mg of genuine cosmetics and 50mg of KBr powder were taken. And fully and uniformly grinding the mixed powder. The particle size of the ground mixed powder is controlled to be 1-3 microns. In the present invention, the particle size of the milled mixed powder was 2. Mu.m. The ground mixed powder is compressed into transparent flakes by an oil press. Specifically, the ground mixed powder is placed in a die, and an oil press is controlled to be used for 5 x 10 7 Pa to 10 8 The pressure Pa presses it into a transparent sheet. And finally, putting the transparent thin sheet into an infrared spectrometer for measurement to obtain an infrared spectrum.
For liquid cosmetics, the steps of collecting infrared spectrograms are as follows: the surface of the ZnSe sheet was wiped with alcohol. Alcohol with concentration of 95% is selected. And after the ZnSe sheet is dried, dripping the genuine cosmetics on the surface of the ZnSe sheet by using a pipetting gun and uniformly coating the ZnSe sheet. Specifically, 0.1 to 1. Mu.l of a genuine cosmetic is dropped into the ZnSe sheet. In the present invention, the volume of the genuine cosmetic added dropwise was 1. Mu.l. Finally, the ZnSe sheet is put into an infrared spectrometer for measurement to obtain an infrared spectrogram.
And for the step S2, obtaining an infrared spectrogram of the genuine cosmetic.
The infrared spectrogram of the cosmetic to be detected is obtained by the method described in step S1. Preferably, the step of collecting cosmetics to be inspected is exactly the same as the step of collecting genuine cosmetics.
Therefore, in the invention, when the cosmetic to be detected is a powdery cosmetic, the steps of collecting the infrared spectrogram are as follows: 2mg of the cosmetic to be tested was taken and added to 50mg of the dry KBr powder and mixed to obtain a mixed powder. The mixed powder was sufficiently ground to a particle size of 2 microns. The ground mixed powder is compressed into transparent flakes by an oil press. And finally, putting the transparent thin sheet into an infrared spectrometer for measurement to obtain an infrared spectrum.
When the cosmetic to be detected is a liquid cosmetic, the infrared spectrogram collecting step comprises the following steps: the surface of the ZnSe sheet was wiped with 95% alcohol. After the dried product is dried, 1 microliter of cosmetics to be detected is dripped into the surface of the ZnSe sheet by a pipetting gun and is uniformly smeared. Finally, the ZnSe sheet is put into an infrared spectrometer for measurement to obtain an infrared spectrogram.
And step S3, identifying a reference infrared spectrogram of the genuine cosmetic corresponding to the cosmetic to be detected from the infrared spectrogram library.
The step of finding out the corresponding reference infrared spectrogram of the genuine cosmetic from the infrared spectrogram library can be realized by manual searching or intelligent recognition from a database by a computer.
And S4, comparing the infrared spectrogram with the reference infrared spectrogram and judging the quality of the cosmetics to be detected according to the comparison result.
In this embodiment, determining the quality of the cosmetic refers to determining whether the cosmetic to be inspected is authentic. It can be understood that whether the cosmetic to be detected is a genuine product can be judged by manually comparing the infrared spectrogram with the reference infrared spectrogram according to whether the infrared spectrogram is similar to the reference infrared spectrogram. As shown in fig. 2, which is a comparison diagram of the first cosmetics to be tested and the genuine products, it can be seen from the diagram that the first cosmetics to be tested are substantially similar to the genuine products. As shown in fig. 3, which is a comparison diagram of the second cosmetics to be detected and the genuine products, it can be seen from the diagram that the difference between the patterns of the second cosmetics to be detected and the genuine products is very large, and therefore, the second cosmetics to be detected are counterfeit products.
Besides the judgment by manual comparison, the judgment can also be realized by a computer intelligent analysis method. In this embodiment, the similarity between the infrared spectrogram and the reference infrared spectrogram is calculated by an image processing method. And judging the quality of the cosmetics to be detected according to the calculated similarity. Setting a similarity threshold, and when the calculated similarity is larger than the similarity threshold, considering the cosmetic to be detected as a genuine product, otherwise, judging the cosmetic to be detected as a counterfeit product.
It can be understood that, for cosmetics on the market, the reason for causing the quality difference of the cosmetics is probably only brought by a certain raw material with higher cost, so that manufacturers of counterfeit products strictly configure the proportions of the remaining raw materials according to the proportions of the genuine products in order to cope with detection, only the proportion of the raw material with higher cost is reduced, and since the similarity of the infrared spectrogram calculated by the image processing method and the reference infrared spectrogram is that the two spectrograms are generally compared, on the basis of the high similarity of other components, only the proportion of the raw material with high cost is reduced, and the general trend of the infrared spectrogram and the reference infrared spectrogram of the cosmetics to be detected is approximately similar, so that the counterfeit cosmetics can be identified as genuine after the similarity calculation. In order to avoid this, when the similarity calculation of the infrared spectrogram is performed, the local similarity is obtained by performing the local key section similarity calculation of the infrared spectrogram after the overall similarity calculation is performed. Only if the overall similarity and the local similarity are combined, the cosmetic to be detected is considered as a genuine product. The range setting of the key section depends on the spectrum curve part corresponding to the raw material with high cost in the infrared spectrogram, and the range setting may be one section or a plurality of sections.
It will be appreciated that the method of the present invention can be used to detect the quality of the processed cosmetic in addition to the authenticity of the cosmetic.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be appreciated by persons skilled in the art that the above embodiments are not intended to limit the invention in any way, and that all technical solutions obtained by means of equivalent substitutions or equivalent transformations fall within the scope of the invention.