Abstract

Raman spectroscopy is widely used for material detection due to its specificity, but its application to spectral recognition often faces limitations due to insufficient training data, unlike fields such as image recognition. Traditional machine learning or basic neural networks are commonly used, but they have limited ability to achieve high precision. We have proposed a novel approach that combines the Triplet network (TN) and K-nearest neighbor (KNN) techniques to address this issue. TN maps the Raman spectral sequences to a 128-dimensional Euclidean space to extract features, enabling the features in the new space to more accurately represent the similarities or differences between spectra, and then utilizes the KNN algorithm to perform classification tasks in this feature space. Our method exhibits superior performance in recognizing unknown Raman spectra with minimal training samples per class. We employed a handheld Raman spectrometer with an excitation wavelength of 785 nm to collect the Raman spectra of 36 samples, including 28 safe materials and eight hazardous materials. Using only one spectrum as a support set for each category, the hazardous samples were successfully distinguished from the safe samples with an accuracy of 99.6%. Additionally, our model offers adaptability without requiring exhaustive retraining when adding new prediction classes. In situations with high background fluorescence, the TN performs better in measuring the distance between spectra of the same class than traditional distance measurement methods.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.