Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jun 17;25(12):3777.
doi: 10.3390/s25123777.

Machine Learning-Based Identification of Plastic Types Using Handheld Spectrometers

Affiliations

Machine Learning-Based Identification of Plastic Types Using Handheld Spectrometers

Hedde van Hoorn et al. Sensors (Basel). .

Abstract

Plastic waste and pollution is growing rapidly worldwide and most plastics end up in landfill or are incinerated because high-quality recycling is not possible. Plastic-type identification with a low-cost, handheld spectral approach could help in parts of the world where high-end spectral imaging systems on conveyor belts cannot be implemented. Here, we investigate how two fundamentally different handheld infrared spectral devices can identify plastic types by benchmarking the same analysis against a high-resolution bench-top spectral approach. We used the handheld Plastic Scanner, which measures a discrete infrared spectrum using LED illumination at different wavelengths, and the SpectraPod, which has an integrated photonics chip which has varying responsivity in different channels in the near-infrared. We employ machine learning using SVM, XGBoost, Random Forest and Gaussian Naïve Bayes models on a full dataset of plastic samples of PET, HDPE, PVC, LDPE, PP and PS, with samples of varying shape, color and opacity, as measured with three different experimental approaches. The high-resolution spectral approach can obtain an accuracy (mean ± standard deviation) of (0.97 ± 0.01), whereas we obtain (0.93 ± 0.01) for the SpectraPod and (0.70 ± 0.03) for the Plastic Scanner. Differences of reflectance at subsequent wavelengths prove to be the most important features in the plastic-type classification model when using high-resolution spectroscopy, which is not possible with the other two devices. Lower accuracy for the handheld devices is caused by their limitations, as the spectral range of both devices is limited-up to 1600 nm for the SpectraPod, while the Plastic Scanner has limited sensitivity to reflectance at wavelengths of 1100 and 1350 nm, where certain plastic types show characteristic absorbance bands. We suggest that combining selective sensitivity channels (as in the SpectraPod) and illuminating the sample with varying LEDs (as with the Plastic Scanner) could increase the accuracy in plastic-type identification with a handheld device.

Keywords: benchmarking; handheld; machine learning; plastic identification; spectroscopy.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
The three different spectroscopic methods compared in this research to identify plastic types 1–6. We measured plastic samples with (a) an integrating sphere, broadband source and high-resolution near infrared spectrometer (NIRS) from 1050–1950 nm, (b) the discrete illumination-based Plastic Scanner with LEDs ranging from 900 to 1800 nm (PScanner) and (c) an integrated photonics approach using the SpectraPod (SP) using broadband light providing spectral responsivity from 850 to 1700 nm. NIRS gives a high-resolution spectrum with 237 datapoints, the Plastic Scanner, a discrete spectrum with 8 points, while the SP gives 16 channels that each have a different responsivity, as given in [9]. Below: Resin identification codes for plastic types used in this research.
Figure 2
Figure 2
Spectral reflectance measurements obtained with (a,b) NIR Spectrometer, (c) Plastic Scanner and (d) SpectraPod (Note: the SpectraPod integrates reflectance over multiple infrared bands as described in [9]). All measured spectra for a variety of plastic samples of different types (e.g., varying colors and opacity) are shown dimly in the background, and the mean of all measurements is given in a solid color corresponding to the legend. (a) Displays all NIRS data in one graph, and (b) shows the normalized spectra (mean = 1.0) with an offset to more clearly show the spectra.
Figure 3
Figure 3
Plastic Scanner (PScanner) accuracy with (a) the confusion matrix showing misclassification of LDPE, PS and PVC affecting the overall accuracy, (b,c) the emission spectra of the PScanner LEDs and the sensitivity of the InGaAs detector, respectively. LED spectra were measured separately and the detector responsivity is from the manufacturer’s specifications. Misclassification is due to a lack of spectral information around 1080–1160 nm, 1320–1380 nm and the broad spectral emission and overlap above 1580 nm, combined with low responsivity of the detector.
Figure 4
Figure 4
(a) Feature importance scores for the 5 most important features attributed to the Random Forest model approach on the NIRS data. This shows that the difference (numerical derivative) at certain wavelengths is most important in the classification. (b,c) Show the zoom of the average reflectance spectrum for the different plastic types around the three most important features used in the Random Forest model.

Similar articles

References

    1. Geyer R., Jambeck J.R., Law K.L. Production, use, and fate of all plastics ever made. Sci. Adv. 2017;3:e1700782. doi: 10.1126/sciadv.1700782. - DOI - PMC - PubMed
    1. Jambeck J.R., Geyer R., Wilcox C., Siegler T.R., Perryman M., Andrady A., Narayan R., Law K.L. Plastic waste inputs from land into the ocean. Science. 2015;347:768–771. doi: 10.1126/science.1260352. - DOI - PubMed
    1. Napper I., Thompson R. Plastics and the Environment. Annu. Rev. Environ. Resour. 2023;48:55–79. doi: 10.1146/annurev-environ-112522-072642. - DOI
    1. Salahuddin U., Sun J., Zhu C., Wu M., Zhao B., Gao P.X. Plastic recycling: A review on life cycle, methods, misconceptions, and techno-economic analysis. Adv. Sustain. Syst. 2023;7:2200471. doi: 10.1002/adsu.202200471. - DOI
    1. Mehrubeoglu M., Van Sickle A., Turner J. Detection and identification of plastics using SWIR hyperspectral imaging; Proceedings of the SPIE: Imaging Spectrometry XXIV: Applications, Sensors, and Processing; Online. 24 August–4 September 2020; pp. 85–95.

LinkOut - more resources