A Deep Learning Approach for Pixel-level Material Classification via Hyperspectral Imaging
Savvas Sifnaios, George Arvanitakis, Fotios K. Konstantinidis, Georgios Tsimiklis, Angelos Amditis, Panayiotis Frangos
TL;DR
This work tackles the limitation of RGB-based material classification by leveraging hyperspectral imaging (900–1700 nm, 224 bands) combined with a lightweight pixel-wise classifier (P1CH). It introduces a dataset of HDPE, PET, PP, and PS plastics with Raman-based ground truth and semi-automated mask generation, and demonstrates that a 1D CNN operating on per-pixel spectra can achieve high accuracy and boundary precision. The approach outperforms state-of-the-art HS methods like HybridSN in pixel-wise tasks and supports near real-time inference, addressing practical needs in waste sorting, pharmaceuticals, and defense. The findings show strong potential for HS-driven material characterization, while also revealing limitations with black/dark plastics and suggesting directions for broader spectral use and incorporation of spatial information to further improve robustness and applicability.
Abstract
Recent advancements in computer vision, particularly in detection, segmentation, and classification, have significantly impacted various domains. However, these advancements are tied to RGB-based systems, which are insufficient for applications in industries like waste sorting, pharmaceuticals, and defense, where advanced object characterization beyond shape or color is necessary. Hyperspectral (HS) imaging, capturing both spectral and spatial information, addresses these limitations and offers advantages over conventional technologies such as X-ray fluorescence and Raman spectroscopy, particularly in terms of speed, cost, and safety. This study evaluates the potential of combining HS imaging with deep learning for material characterization. The research involves: i) designing an experimental setup with HS camera, conveyor, and controlled lighting; ii) generating a multi-object dataset of various plastics (HDPE, PET, PP, PS) with semi-automated mask generation and Raman spectroscopy-based labeling; and iii) developing a deep learning model trained on HS images for pixel-level material classification. The model achieved 99.94\% classification accuracy, demonstrating robustness in color, size, and shape invariance, and effectively handling material overlap. Limitations, such as challenges with black objects, are also discussed. Extending computer vision beyond RGB to HS imaging proves feasible, overcoming major limitations of traditional methods and showing strong potential for future applications.
