원시데이터 수집 시스템
선정목록으로

PCB-Vision: A Multiscene RGB-Hyperspectral Benchmark Dataset of Printed Circuit Boards

간접 관련 필름·전자재료 · (14) 드라이 필름(포토레지스트) (21) 에폭시수지

기본 정보

저자
  1. Elias Arbash — Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), Freiberg, Germany
  2. Margret Fuchs — Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), Freiberg, Germany
  3. Behnood Rasti — Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), Freiberg, Germany
  4. Sandra Lorenz — Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), Freiberg, Germany
  5. Pedram Ghamisi — Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), Freiberg, Germany
  6. Richard Gloaguen — Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), Freiberg, Germany
DOI
10.1109/jsen.2024.3380826
저널
IEEE Sensors Journal
발행년도
2024
발행기관
IEEE Sensors Council
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/jsen.2024.3380826
토픽
Color Science and Applications
OpenAlex ID
W4393252696

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
(21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.70
근거 용어
PCB, hyperspectral imaging, recycling, automated data processing, defect detection
판단 근거
본 논문은 PCB(인쇄회로기판)의 구성 성분을 분석하고 재활용을 최적화하기 위한 하이퍼스펙트럴 이미지 데이터셋과 딥러닝 모델을 다룹니다. 이는 코오롱인더스트리의 직접적인 제품은 아니나, PCB 제조 공정 중의 결함 검사(14번 드라이 필름 관련 공정 응용)나 전자재료의 성분 분석 기술로 응용 가능성이 있습니다.
R&D 활용 포인트
PCB 제조 공정 내 자동 광학 검사(AOI) 시스템의 정밀도 향상 및 전자 폐기물 내 유가 금속 회수를 위한 소재 분석 기술로 활용 가능합니다.
평가 입력
본문 85,564자 중 30,032자 발췌

초록

Addressing the critical theme of recycling electronic waste (E-waste), this contribution is dedicated to developing advanced automated data processing pipelines as a basis for decision-making and process control. Aligning with the broader goals of the circular economy and the United Nations (UN) Sustainable Development Goals (SDG), our work leverages non-invasive analysis methods utilizing RGB and hyperspectral imaging data to provide both quantitative and qualitative insights into the E-waste stream composition for optimizing recycling efficiency. In this paper, we introduce ’PCB-Vision’; a pioneering RGB-hyperspectral printed circuit board (PCB) benchmark dataset, comprising 53 RGB images of high spatial resolution paired with their corresponding high spectral resolution hyperspectral data cubes in the visible and near-infrared (VNIR) range. Grounded in open science principles, our dataset provides a comprehensive resource for researchers through high-quality ground truths, focusing on three primary PCB components: integrated circuits (IC), capacitors, and connectors. We provide extensive statistical investigations on the proposed dataset together with the performance of several state-of-the-art (SOTA) models, including U-Net, Attention UNet, Residual U-Net, LinkNet, and DeepLabv3+. By openly sharing this multiscene benchmark dataset along with the baseline codes, we hope to foster transparent, traceable, and comparable developments of advanced data processing across various scientific communities, including, but not limited to, computer vision and remote sensing. Emphasizing our commitment to supporting a collaborative and inclusive scientific community, all materials, including code, data, ground truth, and masks, will be accessible at https://github.com/hifexplo/PCBVision.

본문 85,564자

본문 펼치기
## PCB-Vision: A Multiscene RGB-Hyperspectral Benchmark Dataset of Printed Circuit Boards Elias Arbash, Margret Fuchs _Member, IEEE_, Behnood Rasti _Senior Member, IEEE_, Sandra Lorenz _Member, IEEE_, Pedram Ghamisi _Senior Member, IEEE_, Richard Gloaguen _Member, IEEE_ _Abstract_ — Addressing the critical theme of recycling electronic waste (E-waste), this contribution is dedicated to developing advanced automated data processing pipelines as a basis for decision-making and process control. Aligning with the broader goals of the circular economy and the United Nations (UN) Sustainable Development Goals (SDG), our work leverages non-invasive analysis methods utilizing RGB and hyperspectral imaging data to provide both quantitative and qualitative insights into the E-waste stream composition for optimizing recycling efficiency. In this paper, we introduce ’PCB-Vision’; a pioneering RGB-hyperspectral printed circuit board (PCB) benchmark dataset, comprising 53 RGB images of high spatial resolution paired with their corresponding high spectral resolution hyperspectral data cubes in the visible and near-infrared (VNIR) range. Grounded in open science principles, our dataset provides a comprehensive resource for researchers through high-quality ground truths, focusing on three primary PCB components: integrated circuits (IC), capacitors, and connectors. We provide extensive statistical investigations on the proposed dataset together with the performance of several state-of-the-art (SOTA) models, including U-Net, Attention U- Net, Residual U-Net, LinkNet, and DeepLabv3+. By openly sharing this multiscene benchmark dataset along with the baseline codes, we hope to foster transparent, traceable, and comparable developments of advanced data processing across various scientific communities, including, but not limited to, computer vision and remote sensing. Emphasizing our commitment to supporting a collaborative and inclusive scientific community, all materials, including code, data, ground truth, and masks, will be accessible at https://github.com/hifexplo/PCBVision. _Index Terms_ — Automated data processing, circular economy, conveyor belt, dataset, deep learning, digitalization, e-waste, hyperspectral, machine learning, open-source data, optical sensors, PCBVision, printed circuit board, recycling, RGB, sensors I. INTRODUCTION HE electronics market has witnessed remarkable growth and development over the last few years, driven by the # T high demand for new generations of electronic devices. However, this accelerated technological advancement has resulted in a considerably reduced lifespan for electronic products, leading to a surge in electronic waste (E-waste) [1]. Research studies and journal reports indicate that the global E-waste generation has been escalating at an unprecedented rate, posing significant environmental challenges and sustainability concerns [2]. It is estimated that each year around 30 to 50 million tons of waste from electrical and electronic equipment (WEEE) are disposed, with an annual growth rate estimation of 3% to 5% [3]. In 2019, a staggering 53.6 million metric tons of E-waste was generated globally, with only 17.4% of it officially documented as recycled [4]. This resulting accumulation of E-waste, along with its unrecovered critical and toxic raw materials demands effective and efficient recycling strategies to mitigate its environmental impact and harness the economic value hidden within E-waste components. The concept of a circular economy provides a framework for addressing E-waste challenges by promoting the recovery, and reuse of materials [5]. E-waste recycling specifically plays Elias Arbash, Margret Fuchs, Behnood Rasti, Sandra Lorenz, Pedram Ghamisi, and Richard Gloaguen are with the Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Helmholtz Institute Freiberg for Resource Technology (HIF), 09599 Freiberg, Germany. a crucial role in this transition by transforming discarded electronic devices into valuable resources. E-waste recycling also contributes to the achievement of several sustainable development goals (SDGs) outlined by the United Nations (UN) [6]. E-waste recycling reduces primary resource consumption and waste generation at the same time corresponding to SDG 12 ”Responsible Consumption and Production: Ensure Sustainable Consumption and Production Patterns”. Moreover, it helps reduce greenhouse gas emissions associated with virgin material extraction and processing supporting SDG 13 ”Climate Action”. Additionally, promoting the reuse of existing materials to reduce the environmental impact of virgin resource extraction aligns with SDG 15 ”Life on land”. Among the myriad electronic components contributing to E-waste, printed circuit boards (PCBs) hold particular significance due to their widespread use in various electronic devices. The recycling of waste PCBs can unlock significant value, given their considerable residual content. Approximately 28% of a PCB’s weight is constituted by high-grade precious metals such as Au, Ag, Cu, Pd, and Ta [7]. The extraction of those metals can help reduce the need for raw material extraction. Nevertheless, waste PCBs present environmental and health hazards. The methods employed for extracting precious metals, particularly in open-air settings like PCB acid baths [8], can inadvertently release toxic substances, including lead and mercury into the environment [7]. To achieve efficient and sustainable recycling of PCB com Fig. 1: PCB-Vision setup to results: (a) RGB images and HS data cubes are acquired, (b) data normalization and preprocessing, (c) data preparation for ML model pipeline, (d) segmentation results ponents, i.e., an optimized E-waste recycling, there arises a pressing need for automated advanced analytical techniques and informative systems that can provide both qualitative and quantitative information in a short time about the PCB composition. Smart systems that adopt optical sensors, including but not limited to RGB cameras, have demonstrated remarkable potential in this domain [9]. By leveraging the rich data and information obtained from these sensors, machine learning (ML) and deep learning (DL) methods are to be deployed to streamline the recycling process and improve its accuracy and efficiency [10]. Motivated by these technological and computational advancements, our project Ramses for Circular Economy (Ramses-4-CE) spearheads the development of optical spectroscopy-based multisensor systems tailored for the E-waste recycling industry. At the core of our initiative lies the pursuit of advanced multisource data fusion e.g., RGB and hyperspectral imaging sensors. The usage of ML techniques for data fusion enables rapid data integration and automates information extraction from E-waste, thereby optimizing Ewaste recycling practices. II. RELATED WORK RGB cameras offer several advantages, such as costeffectiveness, high spatial resolution, low integration time, ease of use, and real-time data acquisition, making them popular choices for various fast and automated PCB inspection applications, such as defect detection and quality control. These cameras excel in capturing visual information at a submillimeter pixel scale and are widely utilized in image-based inspection systems within the electronics industry [[17], [18]]. Work examples where RGB cameras contributed to PCBsoriented informative systems are Herchenbach et al. [19] who used the RGB and the depth information of the Microsoft Kinect sensor to segment and classify the through-hole components (THC) mounted on printed circuit board assembly (PCBA). Li et al. [20] proposed an information retrieval automated PCB recycling system by detecting and segmenting surface-mounted devices (SMDs) of two kinds, small devices like resistors and capacitors, and integrated circuits (IC). In another work, Li et al. [21] also enhanced the text information retrieval of optical character recognition (OCR) from RGB images by developing a novel thresholding method that utilizes an adaptive window size along with background estimation. Li et al. work proves that text recognition quality can be improved by enhancing the binarization of text contents. For PCB inspection and fault detection systems, Kim et al. [22] developed a skip-connected convolutional autoencoder that took RGB images as input to detect defects in PCB for automating PCB surface inspection. Ding et al. [23] propose a tiny defect detection network (TDD-Net) utilizing deep convolutional neural networks (CNN) to enhance PCB quality control systems using RGB images. In [24] Adibhatla et al. used a version of you-only-look-once (YOLO) [25] named tinyYOLOv2 DL algorithm for defect detection in PCBs using 11,000 RGB images for PCB quality inspection. In contrast to RGB, hyperspectral imaging (HSI) cam TABLE I: A systematic review of publicly available PCB datasets Dataset PCB# Data Volume Data Type Derivatives of Original Inspected Object Sensor Type Capacitor, resistor, inductor, FICS-PCB [11] 31 9,912 RGB Images Illumination, scale, sensor Digital microscope + DSLR transistor, diode, IC 5 5 3D volumetric data - PCBs NANO-CT-GE V - TOME X M 240 FICS-PCB X-ray [12] - 1,386 RGB images - 6 Trace defects Digital microscope PCBA-defect [13] - 1,500 Binary images - 6 Trace defects Linear scan CCD Deep PCB [14] 165 748 RGB images Rotation PCB + (IC) DSLR PCB-DSLR [15] (IC, capacitors, 123 984 RGB images 4 rotations + front and back scan DSLR PCB-Metal [16] resistors, inductors) PCB + (IC, 53 106 RGB images + hyperspectral cubes Provided (optional) DSLR + Linescan Spectrometer PCB-Vision capacitor, connectors) eras bring an abundance of benefits for PCB component detection and inspection systems, e.g. offering comprehensive spectral coverage that enables the identification and analysis of materials based on their unique spectral signatures [26]. Several studies employed spectroscopy-based methods to analyze and map PCB compositions, e.g., Englert et al. in [27] proposed a monitoring method to detect and quantify organic contaminations on technical surfaces using hyperspectral imaging and X-ray photoelectron spectroscopy (XPS). Carvalho et al. [28] examined and analyzed 1,200 emission points on a 30mmx40mm section of a 2011 mobile phone PCB sample within the wavelength range of 186 to 1040 nm using laser-induced breakdown spectroscopy (LIBS) and scanning electron microscopy with energy-dispersive Xray spectroscopy (SEM-EDS). Their investigation focused on determining the metal compositions, and a graphical map of the metal distribution was obtained. In a study done on end-of-life mobile phone wastes, Palmieri et al. [29] proved that the characterization which combines traditional methods like scanning electron microscopy and Raman spectroscopy alongside innovative hyperspectral imaging in the short-wave infrared range significantly enhances recycling strategies and product recovery outcomes. Rapolti et al. [30] developed a two-stage sorting stand for E-waste, employing optical sensors in both stages. The first stage utilizes a Specim near-infrared FX10e hyperspectral camera and a robotic arm. Unrecognized items proceed to the second stage, which employs an IFM Electronics contour vision sensor and actuators for further sorting. Sudharshan et al. [31] proposed an enhanced version of the FasterRCNN object detection method called GOL-based Faster-RCNN that utilizes RGB and FX17 HSI camera information for enhancing the object detection performance of PCB components for aiding the recycling and recovery systems of PCB. Polat et al. [32] fused 3D point clouds and HSI for classifying different types of objects and materials of electronic waste like shredded PCBs and plastics, this usage allowed the combination of geometrical and physical information to help components distinguish routines of PCB components. _A._ _Related Datasets_ The aforementioned systems enrich the research towards building efficient non-invasive PCB informative systems that act as a cornerstone for efficient PCB recycling streams. However, a foundational element in the development of those advanced systems is having comprehensive datasets that act as the bedrock upon which algorithms and models are designed and tested. To our knowledge, only a few PCB datasets are publicly available e.g., the publicly available ’FICS-PCB’ dataset developed by Mehta et al. [11] stands out as a valuable resource for the development of robust PCB automated visual inspection (AVI) systems. Containing 9,912 RGB images with 77,347 annotated components from 31 distinct PCBs, the FICS-PCB dataset provides a comprehensive platform for evaluating and improving the performance of PCB AVI algorithms. The authors demonstrated the effectiveness of two deep learning (DL) architectures, AlexNet [33], and Inceptionv3 [34], on the FICS-PCB dataset, achieving promising results in PCB components classification. Mehta et al. [12] also proposed another dataset ’FICS-PCB X-ray’ that supports the PCB-AVI which is the first annotated X-ray PCB dataset for automated PCB inter-layer inspection including 5 PCBs each containing 3D volumetric data that can be extracted into 2D slices for the analysis. In the field of PCB automated optical inspection (AOI), Huang et al. [13] proposed a PCB dataset referred to as ’PCBA-Defect’ for defect detection and classification containing 1,386 RGB images with six kinds of synthetic defects (missing hole, mouse bite, open circuit, short, spur and spurious copper) photoshopped on cropped images of scanned PCB traces using an industrial camera equipped with a CMOS sensor and a zoomable industrial lens. In [14] Tang et al. proposed ’DeepPCB’, a dataset containing 1,500 binary image pairs of defect-free and defected traces with annotations of six common types of defects (open, short, mouse bite, spur, pinhole, and spurious copper) along their positions, moreover a DL model utilizing a novel group pyramid pooling was proposed to efficiently detect the PCB trace defects. To facilitate research on computer-visionbased PCB analysis, Pramerdorfer et al. [15] proposed a PCB dataset referred to as ’PCB-DSLR’ containing 748 images of 165 different PCBs using a digital single-lens reflex (DSLR) camera scanned in an industrial-like environment on top of a conveyor belt. ’PCB-DSLR’ is also provided with accurate PCB segmentation information, in addition to 9,313 bounding boxes for detecting integrated circuits (ICs), along with textual information of the labels of 1,740 IC samples. A similar to [15] but more abundant PCB dataset is Mahalingam et al. [16] who introduced ’PCB-Metal’ (PCB Metal is not available to this publication date); a 984 high-resolution RGB images PCB dataset of 123 different PCBs with object detection ground truths of 4 main components of PCBs (IC, capacitors, resistors, and inductors) useful for image-based PCB analysis, e.g., PCB classification, component detection, etc. Table I provides a summary of the publicly available PCB datasets with their sensor and data types information according to our knowledge. From Table I, we can conclude the drawbacks of the publicly available PCB datasets with: _•_ Limited spectral range : The ”PCB-DSLR” dataset, while being larger than our ”PCBvision”, is solely composed of RGB data. This limits its application in scenarios requiring detailed spectral analysis, crucial for accurate material identification in PCB recycling. _•_ Accessibility issues : The ”PCB-Metal” dataset is not publicly available, restricting its utility for broad research and application development within the scientific community. _•_ Limited scope and diversity : Other existing PCB datasets predominantly feature RGB images with a smaller variety of scanned PCBs. This narrows their applicability and diminishes their effectiveness in training robust models for diverse real-world scenarios. _•_ Scarcity in multimodal data : Multimodal PCB datasets; “FICS-PCB X-ray” [12] are scarce, with a limitation of 5 PCB samples. This severely limits their efficacy in developing comprehensive models that can handle varying PCB types and conditions. It can be noted that, although reflectance-based HSI provides further features (spectral representation of a physical absorption process) that allow more advanced vital analysis for the PCB recycling-oriented system, the image processing progression of HSI lags behind its RGB counterpart due to the scarcity of available data. The advancement of models and methodologies in HSI requires large datasets, facilitating enhanced development of non-invasive PCB inspection systems. Existing HSI datasets remain sparse, many are confined to a single scene, and highly non-industrialized applications are rather more focused on food [35], medical fields [36], and earth observation e.g., Indian Pines, Houston, Salinas scene, Kennedy Space Center, and Pavia University. Those datasets formed a baseline to develop many of the HSI classification modalities e.g., ’HybridSN’ [37] a model by Roy et al. that combines 3D CNN with 2D CNN for rich extraction spatialspectral feature representations. The utilization of 3D CNN on the full HSI scene on a graphical processing unit (GPU) demands a lot of unavailable memory, therefore patching from the scene was fed to the model. For unshaped objects e.g., earth observation scenes, this is not a problem, but it might be for geometrically shaped objects like PCBs as we discuss later on. Another example is Uchaev et al. [38] who presented RPNet-RF, a model that combines recursive filtering and random patches network (RPNet) to extract informative features that will be combined with the HSI spectral features to classify the HSI using a support vector machine (SVM) classifier. Nonetheless, the lack of multiscene hyperspectral (HS) data hinders the development of HSI image processing models with high generalization ability to unseen scenes, therefore, multiscene hyperspectral datasets are needed. The multiscene HSI datasets allow models to handle more illumination variations, noise (ambient and instrument), and variable proportions of content (objects/ classes), which challenge existing models trained on single-scene datasets. Recently, more sophisticated multiscene HSI datasets emerged, for instance, ’landslide4sense’ presented by Ghorbanzadeh et.al [39] where 3,799 HSI patches of size 128 by 128 acquired by fusing optical layers from the Sentinel-2 sensor collected at four different times and geographical locations: Iburi (2018), Kodagu (2018), Gorkha (2015), and Taiwan (2009). Landslide4sense provides binary classification ground truth of landslide or non-landslide labels to facilitate accurate detection of landslide extents. Further remote sensing urban environment multiscene dataset is ’C2Seg’ provided by Hong et al. [40]. C2Seg is a multimodal multiscene benchmark dataset consisting of two cross-city scenes; Berlin-Augsburg (Germany) and Beijing-Wuhan (China) for the sake of crosscity semantic segmentation studies. C2Seg contains multiple data types including hyperspectral, multispectral, and synthetic aperture radar (SAR). Such datasets support the development of high-in-generalization HS data classification models since they allow classifiers to be trained on data from multiple scenes, i.e., considering further variance in the targets which improves the prediction performance on unseen data. Nonetheless, the numerous HSI datasets mentioned before still suffer from several drawbacks, including: _•_ Domain-specific limitations : The majority of hyperspectral imaging datasets, such as Indian Pines, Houston, Salinas scene, Kennedy Space Center, and Pavia University, are tailored towards earth observation. This specialization steers HSI model development away from industrial applications, impacting their transferability to recycling tasks. _•_ Scene diversity : Earth observation datasets typically focus on singular scenes, which holds the development of HSI processing models with broad applicability and high generalization capabilities. _•_ Limited application scope : While ”Landslide4sense” offers a larger dataset compared to ”PCB Vision,” it is confined to earth observation with only four distinct scenes and binary classification ground truth (landslide or non-landslide), limiting its relevance to industrial settings, and multiclass segmentation tasks. _•_ Scene restriction : ‘C2seg’ dataset is similarly limited, offering only four scenes, which restricts its application in diverse environmental conditions. _•_ Spectral depth : Publicly available datasets in food [35], and health [36] sectors often lean towards multispectral rather than hyperspectral imaging, reducing their utility in applications requiring detailed spectral resolution. In an overview, although HSI enables the identification of various materials based on their unique spectral signature, it suffers from a limited spatial resolution, which could impede the precise localization of specific materials within a complex e-waste stream, especially since the extracted coordinations from the HSI will go through further position conversions to meet robotics workspace. This can further amplify the inaccu Metric RGB model GOL model _APIC_ 0.67 0.71 _APEC_ 0.45 0.62 _APAU_ 0.15 0.4 mAP@(IoU=0.5) 0.45 0.55 Prediction Time 0.75 0.32 TABLE II: RGB based model vs HSI/RGB GOL model performance comparison in detecting three classes of interest in PCB application [31] rate coordination, leading to false readings. Conversely, RGB imaging, while lacking the spectral depth provided by HSI, offers a superior spatial resolution crucial for accurate mapping and object recognition. The concurrent utilization of both HSI and RGB images addresses these complementary strengths and weaknesses. By integrating the rich spectral information from HSI with the high spatial resolution of RGB images, we can construct a more comprehensive and accurate representation of e-waste items. Taken from the work of Sudharshan et al. [31] table II demonstrates a numerical evaluation of two object detection models, the first one is FasterRCNN [41] which utilizes RGB images only and the second one is Sudharshan et al. modified version of FasterRCNN which utilizes both RGB and HSI images called guided object localization (GOL). The table illustrates that the integrated approach of RGB and HSI yields superior performance, particularly in the case of limited available data. Moreover, in [42], Rasti et al. demonstrated the utility of utilizing HSI to classify shredded electrolysers on a conveyor belt for recycling applications of materials non-differentiable by color and shape due to their similar appearance and geometry. This combination of both RGB and HSI improves the efficiency and effectiveness of e-waste materials detection and constructs a more comprehensive and accurate representation needed for robotic-supported e-waste recycling processes. Addressing those gaps towards simultaneously comprehensive presentation of PCBs across both RGB and HSI domains, we introduce ’PCB-Vision’, a multiscene multimodal (HSI and RGB) dataset consisting of 53 high spectral resolution hyperspectral data cubes along with their 53 high spatial resolution RGB images of 53 different PCBs scanned in industrial-like scenarios, coupled with two different segmentation annotations. In summary, PCB-Vision consists of: 1) 53 hyperspectral cubes of 53 different PCBs scanned in the visible and near-infrared range with 224 bands. 2) 53 RGB images of the 53 PCBs. 3) ’General’ pixel-wise classification ground truth of three classes of interest (’IC’, ’Capacitor’, ’Connectors’) for both RGB and HS data cubes. 4) ’Monoseg’ pixel-wise classification ground truth of three classes of interest (’IC’, ’Capacitor’, ’Connectors’) for both RGB and HS data cubes. 5) 53 background/foreground masks for separating the PCB from the image background. The integration of RGB and HS data within a single dataset holds significant promises, such datasets foster cross-modal exploration, empowering researchers and practitioners to forge novel pathways for material stream digitalization, monitoring and intelligent, data-driven decision-making in PCB recycling without the need to build expensive setups. PCB-Vision is a multiscene RGB-HSI dataset, centered on PCBs, it unlocks a multitude of prospects for advancing computer vision techniques. Its potential extends beyond segmentation and object detection to applications like pansharpening and superpixel restoration in remote sensing. Our endeavor with this dataset is fortified by statistical analyses and crafted supervised learning ground truths for both RGB and hyperspectral data modalities. Through comprehensive numerical evaluations of segmentation models on these data types, we lay the foundation for innovative research endeavors and pioneering solutions to address the urgent challenges posed by E-waste recycling and support pathways to future concepts of more robot-aided and object-oriented E-waste component separation. PCB-Vision can help identify the most valuable components of PCBs as we later present in the classes of interest, which can maximize the recovery of valuable materials and improve the efficiency of recycling processes [43]. PCB-Vision provides a platform for evaluating and comparing different PCB analysis methods. This benchmarking fosters innovation and collaboration in E-waste recycling by encouraging collaboration and innovation among researchers and industry. PCB-Vision pushes the E-waste recycling methods a step forward toward more efficient and environmentally friendly technologies by accelerating the development of noninvasive real-time analytical systems that meet the industrial demands for in-line data processing pipelines that assist subsequent tasks. This supports the Green Deal and the circular economy. The subsequent sections of this paper are structured as follows: Section two provides a comprehensive overview of the dataset, addressing acquisition requirements, outlining the provided annotations, and presenting their associated statistics. Section three delves into the methodologies and models employed on the dataset, moreover, we detail the experimental procedures involved in training the models, along with the subsequent numerical evaluations. Section four discusses the forthcoming challenges and outlines the trajectory for future research directions. Finally, section five encapsulates our conclusions and summarizes the work’s contributions. III. DATASET DESCRIPTION This section provides a comprehensive overview of the dataset, detailing the sensors employed for acquisition and presenting statistics related to the annotations. Fig. 1 gives a glance at the PCB-Vision workflow. The conveyor belt industrial setup of the data acquisition shows the RGB and HSI cameras mounted on top of the belt scanning the PCBs and giving high spatial resolution RGB images along with high spectral resolution HSI. The data is further preprocessed and normalized to fit the processing pipeline of DL models which after the training phase perform predictions to identify valuable PCB components. TABLE III: Acquisition cameras parameters Parameters Teledyne Dalsa C4020 Specim FX10 Spectral Range RGB 400-1000 nm Spatial Resolution 4000 _·_ 3000 px/ frame 1024 px/ line Spectral Resolution - 5.5 nm Bands 3 224 Exposure Time 1.5 ms 7.47 ms Frame Rate 8 Hz 132 fps Conveyor Speed 10 cm/s 10 cm/s _A._ _Data Acquisition_ The dataset encompasses RGB images captured by a Teledyne Dalsa Genie Nano-C4020 camera and HS data cubes obtained using a Specim FX10 spectrometer. The two sensors are positioned atop the conveyor belt in our Helios laboratory at the Helmholtz Institute Freiberg for Resource Technology (HIF) as shown in Fig. 2. The C4020 camera is characterized with a full-frame capture capability, while the FX10 spectrometer operates as a line scan device with high spatial resolution across the visible and near-infrared (VNIR) range. Illumination of the PCB stream was achieved using eight broad-band quartz-tungsten halogen lights. Table III provides detailed acquisition parameters for the two cameras. Fig. 2: Acquisition setup at Helios Lab [31] Hyperspectral data acquisition with the FX10 was performed using the Specim Lumo Recorder software (Spectral Imaging Ltd., Oulu, Finland). Before capturing the PCBs cubes, a dark reference frame was acquired with the shutter closed. Subsequently, a white reference panel with 99% reflectance was captured. Using the Hylite toolbox [44], we converted the raw hyperspectral datacubes to reflectance by applying the reference levels from the white and dark reference measurements, such that each pixel within the resulting cubes constitutes a vector representing the corrected reflectance spectra. Fig. 3 presents PCB 1 true color representation of the HSI along the spectra of the classes of interest (’IC’, ’Capacitor’, ’Connectors’), in addition to the conveyor belt surface. The spectra were taken from a random point on the main material surface of the four objects. From 3b we notice the spectra of class ’IC’ are similar to the spectra of the conveyor belt. This is expected since the IC surface material and the conveyor belt material are similar black polymers, therefore they will reflect similar spectra in this range. We wanted to highlight this situation since this will confuse models that utilize spectral information only to do pixel-wise classification (segmentation) of those two classes. Further analysis of this problem is introduced in the experiments section. For the annotation of hyperspectral cubes and the creation of pixel-wise classification ground truths, the Envi Classic (ENVI™5.1, Exelis Visual Information Solutions, Boulder, Colorado) software was employed. Simultaneously, RGB images were annotated using the Anylabeling [45] annotation tool. These steps facilitated the generation of accurate and informative segmentation ground truths of three main components commonly found in every PCB, for subsequent computer vision tasks. _B._ _Annotations_ Our research focuses on three fundamental objects commonly encountered in PCBs: Integrated Circuits (ICs), electrolytic capacitors, and connectors. The selection of ICs and connectors is driven by their significant economic value, while the inclusion of electrolytic capacitors is motivated by their potentially hazardous components. The accurate localization and detection of these components is a main task of our project’s technical objectives. However, the tasks of our project ’Ramses’ involve unique cases that demand a specialized type of segmentation ground truth different than the general segmentation ground truth that covers all the object’s surface. For this purpose, an annotation ground truth named ’Monoseg’ was created. Nonetheless, To enhance the dataset’s versatility and contribution to the broader field of computer vision research, we also provide classic segmentation ground truths called ’General’, making the dataset suitable for general-purpose tasks beyond the Ramses project. The main difference between the two segmentation types lies in the included object’s surface area which is explained thoroughly further. While it’s conceivable to expand the number of object classes within the dataset, this process is subject to scalability considerations, ensuring a balanced and comprehensive representation of various PCB elements. _1)_ _General_ _Segmentation_ _Annotations_ _:_ In this study, we define the ’General’ segmentation ground truth as ground truth annotations encompassing all surfaces of the PCB components, regardless of the number of materials present on each surface. The resulting segmentation ground truth map for the PCB1 RGB image is depicted in Fig. 4a. It can be seen how all the surface of each class of interest component is taken as ground truth. This is the main difference between the two annotation styles ’General’ and ’Monoseg’. _2)_ _Monoseg_ _Annotations_ _:_ In the context of the Ramses project, the segmentation ground truths adhere to a specific approach where only the primary material of an object’s surface is labeled. This means excluding any additional markings, labels, or inscriptions present on PCB components’ surfaces like labels that are printed on ICs surfaces. The rationale behind the ’Monoseg’ ground truth style aligns with the use of point measurement sensors, such as XRF, and Raman spectroscopy that provides valuable chemical composition information about the reading point. In this approach, a point measurement is conducted within a given segment, and this measure must (a) PCB1 True color representation HSI with the points of the spectral readings (b) The four main classes spectra Fig. 3: Four spectra from PCB 1 HSI were captured from randomly selected points on the main material surface of our classes of interest, along with the spectra from the conveyor belt background. ’Conveyor belt’ (orange), ’IC’ (red), ’Capacitor’ (green), and ’Connectors’ (blue). styles, Fig. 5 demonstrates the ground truth maps of the PCB 1 RGB image for each annotation style. (a) ’General’ ground truth projected on the RGB image (a) PCB 1 ’General’ ground truth (b) ’Monoseg’ ground truth projected on the RGB image Fig. 4: ’General’ and ’Monoseg’ segmentation ground truth projected on PCB1 RGB image. ’IC’ (red), ’Capacitor’ (green), ’Connectors’ (blue). be taken where meaningful results are anticipated not where other labeling materials exist. Such obstructions of reading the wrong material point can lead to incorrect readings, potentially compromising the accuracy of the composition analysis. To mitigate this potential source of inaccuracies, the ’Monoseg’ segmentation ground truth deliberately excludes all non-object-based materials. Fig. 4b shows this annotation strategy on the PCB1 RGB image where ’Monoseg’ ground truth considers only a specific part of the component surface, e.g., the surface of the bottom left IC is partially selected since the printing label on the surface is ignored. For a better comparison of the two annotation (b) PCB 1 ’Monoseg’ ground truth Fig. 5: ’General’ VS ’Monoseg’ segmentation ground truth of PCB 1 RGB image. ’IC’ (red), ’Capacitor’ (green), ’Connectors’ (blue). The difference between the two annotation styles can be noticed in the bottom left IC and all the capacitors (green) where only the main material of the classes of interest are considered as targets. _C._ _Statistics_ This subsection provides relevant statistics about the dataset and the ground truth containing the three classes of interest ’IC’, ’Capacitor’, and ’Connectors’. The two ground truth sets ’Monoseg’ and ’General’ have different sizes, the ’General’ ground truth contains more segmented pixels for the ’IC’ and ’Capacitor’ classes. In this subsection, we present the statistics of the ’General’ ground truth. However, although we provide two independent ground truths for both RGB and HSI, we highlight the ground truth of the hyperspectral ones, given its critical nature which plays an important role in selecting the training data for the HSI processing pipeline. The dataset comprises 53 PCBs scanned using both hyperspectral and RGB cameras mounted on top of a black conveyor belt. The nature of this setup introduces the challenge of unwanted background (the black conveyor belt) surrounding the PCBs, significantly impacting various HSI preprocessing steps, such as data normalization, and dimensionality reduction, and processing steps like training State-Of-The-Art (SOTA) segmentation models. Moreover, the spectra of the conveyor belt closely resemble the spectra of the IC’s dark plastic coating. To address this issue, we create PCB masks using the method proposed in [46], to help effectively eliminate the undesired background vectors and preserve only the PCB, our object of interest. As mentioned previously, our dataset of 53 PCBs encompasses three classes: ’IC’, ’Capacitor’, and ’Connectors’. However, these classes are unbalanced, object-wise and pixelwise across the dataset. Fig. 6 presents a pie chart illustrating the percentage of the mentioned classes pixels. Fig. 6 reveals Fig. 6: Dataset classes percentages a highly imbalanced class case, where the ’IC’ class (red) dominates the dataset, constituting 82.0% of the ground truth, accounting for more than three-quarters of the entire dataset. Following this, the ’Connectors’ class (blue) comprises 9.2% of the dataset, while the ’Capacitor’ class (green) represents 8.7% of the dataset. To gain a comprehensive understanding of the dataset and facilitate the subsequent HS cubes train-test split process, we categorized the PCBs based on the classes they contain. Fig. 7 presents a pie chart illustrating the percentage of PCB types based on their class composition. As shown in Fig. 7, the most common PCB type consists of two classes only, namely ”IC-Connectors” (purple), accounting for 37.7% of the dataset. Following this, PCBs with all three classes, ”IC-Capacitor-Connectors” (olive), constitute 28.3% of the dataset size. PCBs containing another two classes, ”ICCapacitor” (dark yellow), represent 24.5% of the dataset size. Finally, PCBs containing ’IC’ class only (red) form 9.4% of Fig. 7: PCBs type based on the contained classes the dataset size. To comprehensively analyze the class imbalance in our dataset corresponding to each PCB category as presented in Fig. 7, we provide histograms in Fig. 8. Each histogram illustrates the quantitative distribution of class pixels within every PCB of each category. The four histograms presented in Fig. 8 offer quantitative insights for the pixels’ number (y-axis) in the HSI ground truth for each PCB in the dataset (x-axis). The first histogram, denoted as Fig. 8a, corresponds to PCBs containing all three classes (’IC’, ’Capacitor’, and ’Connectors’), wherein the ’IC’ class exhibits dominance, consistently observed in the other histograms as well. The second histogram, Fig. 8b, pertains to PCBs containing both the ’IC’ class and the ’Connectors’ class. Similarly, the third histogram, Fig. 8c, represents PCBs with the ’IC’ class and the ’Capacitor’ class. Lastly, the fourth histogram, Fig. 8d, is dedicated to PCBs containing only the ’IC’ class. Those histograms provide essential insights for forming the right training set for our SOTA DL segmentation models on the HSI data since HSI model training is more sensitive than RGB due to the abundant information contained in the HSI that amplifies the class imbalance. It is common knowledge that DL models that are trained on biased datasets will give biased predictions, therefore the above-mentioned histograms helped build a hyperspectral training set as balanced as it could be. The hyperspectral PCB cubes forming the training set are 1, 3, 8, 11, 17, 22, 23, 24, 25, 32, 34, 44, 45, 47, 49, 50, 52, 53. The hyperspectral PCB cubes forming the validation set are 18, 37, 42. The rest of the cubes are used to create the test set. IV. EXPERIMENTS This section presents the segmentation experiments for the two ground truths ’General’ and ’Monoseg’, for both the HSI and the RGB data types using the raw version of the data without deploying any background (conveyor belt) masking technique to provide a benchmark point of PCB-Vision raw data. Five of the most famous segmentation models were used to benchmark the segmentation performance on the dataset. The following methodologies subsection elaborates more on those models. (a) Histogram of (IC-Capacitor-Connectors) PCBs category (b) Histogram of 2 classes (IC-Connectors) PCB category (c) Histogram of 2 classes (IC-Capacitor) PCB category (d) Histogram of 1 class (IC) PCB category Fig. 8: Class distribution for each PCB in each PCB class category. _A._ _Methodologies_ In this study, we conducted comprehensive experiments to evaluate the performance of various semantic segmentation SOTA models including U-Net [47], DeepLabv3+ [48], and Attention U-Net [49], among others. These models were chosen for their well-established capabilities in addressing semantic segmentation challenges in computer vision. The used models are: _1)_ _Unet:_ Unet is a widely used convolutional neural network (CNN) architecture for semantic segmentation tasks in computer vision. The network’s unique design features a symmetric U-shaped encoder-decoder structure [47]. The Unet architecture efficiently captures multiscale contextual information through skip connections, allowing precise segmentation of objects in images [47]. Its effectiveness and versatility have made Unet a popular choice for various segmentation applications. _2)_ _ResUnet:_ ResUnet is a novel CNN architecture that combines the power of ResNet and Unet for semantic segmentation tasks in computer vision. The ResUnet model leverages residual connections from ResNet to facilitate efficient feature propagation during the encoder-decoder process [50]. This fusion enables ResUnet to capture both local and global contextual information, enhancing segmentation accuracy and robustness. _3)_ _Attention Unet:_ Attention Unet is an innovative CNN architecture designed for precise semantic segmentation tasks in computer vision. The model integrates attention mechanisms within the standard Unet framework. By selectively attending to informative regions, Attention Unet achieves improved segmentation accuracy, particularly in cases where the target objects exhibit diverse appearances or complex structures [49]. The network’s attention mechanisms enable it to focus on relevant image regions, enhancing its ability to accurately delineate objects of interest, such as organs in medical imaging or objects in natural scenes. _4)_ _DeepLabv3+:_ DeepLabv3+ is an advanced CNN architecture tailored for accurate semantic segmentation tasks in computer vision. The model employs an encoder-decoder structure with atrous separable convolutions [48]. This design enables DeepLabv3+ to effectively capture multiscale contextual information while preserving fine spatial details. _5)_ _LinkNet:_ LinkNet is a CNN architecture specifically designed for efficient semantic segmentation. It introduces a novel encoding path, featuring residual-like connections called ”link” connections, to preserve spatial information effectively [51]. The link connections enable seamless integration of highlevel features from deeper layers with low-level features from shallower layers, facilitating accurate segmentation. Through meticulous evaluation, we investigated the numerical results of each model’s inference on the test set, enabling a comprehensive comparison of their performance in accurately segmenting our classes of interest. _B._ _Results: RGB_ This subsection outlines the preprocessing steps applied to the RGB data and provides a numerical evaluation of the aforementioned DL models: 1) Train, validation, and test split : the original RGB dataset comprises 53 images of the 53 PCBs. To facilitate effective model training, validation, and testing, we performed a random split, allocating 62% of the data for training, 16% for validation, and 20% for testing. This results in 33 images used for training, 9 for validation, and 11 for testing. We did not use the HSI training set built based on the statistics since the training data in the HSI are much higher than in RGB due to data abundance inherited in hyperspectral imaging consisting of 224 bands. The usage of 62% of PCB-Vision data for training can yield better results. 2) Data augmentation : is a major technique in DL that enhances models’ performance by artificially expanding the training dataset [52]. By using the existing samples to create new synthetic data variants, data augmentation addresses the challenges of limited data availability and improves the generalization ability of DL models to unseen data [52]. Albumentations [53], a powerful image augmentation Python library, was employed to apply various transformations to both RGB images and their corresponding masks. These transformations fall into two categories: _•_ Spatial-level transformations (applied to both image and mask simultaneously): – Vertical flip – Horizontal flip – 40 degrees clockwise rotation – 40 degrees anti-clockwise rotation – RGB channel color shifting with a 25-shift limit for the red, green, and blue channels – Transpose – Shift scale rotate _•_ Pixel-level transformations (applied to the image without mask changes): – Color jittering – Channel shuffling – Random snow – One of: random brightness or random gamma – One of: blur or motion blur – One of: random contrast or hue saturation value By introducing augmented data during training, the DL model increases its generalization ability, thereby improving performance across unseen data and diverse real-world scenarios. This approach mitigates overfitting risks, ensuring the model’s efficacy in accurately segmenting objects under varying lighting conditions, viewpoints, and occlusion patterns [54]. In the context of semantic segmentation, data augmentation is an indispensable strategy to boost model performance and ensure its practical applicability in various real-world scenarios [52]. 3) Class imbalance mitigation : While our dataset comprises three classes (’IC,’ ’Capacitor,’ and ’Connectors’) another class named ’Others’ is introduced for the model to classify everything that is not one of our classes of interest as ’Others’. This includes every other object that appears on the PCB surface, plus the undesired background (conveyor belt) as well. Class imbalance can impact the performance of machine learning models. To mitigate this, class weights were introduced to the loss function in order to highlight the error and updates for the classes of interest since they have fewer training samples than the ’Others’ class. The following part contains two types of segmentation experiments, the first is done on the ’General’ ground truth set, and the second is done with the ’Monoseg’ type of ground truth. The five above-mentioned benchmark segmentation models are used for the semantic segmentation of the RGB PCBs. While alternative hyperparameters were explored, the selected set presented in table IV empirically demonstrated robust performance across all models, avoiding overfitting issues. TABLE IV: RGB images training hyperparameters Hyperparameter Value Image spatial resolution 640x640x3 Batch size 8 Optimizer Adam Loss function Weighted CCE Learning rate 1e-4 Class weights .1 - .8 - .85 - .9 Early stopping 10 A noteworthy observation is that attempting a higher spatial image resolution (1280x1280x3) yielded improved results, despite practical constraints, particularly memory limitations, i.e., lack-of-memory errors that prevented universal application across all five models. Additionally, reducing the batch size below 8 negatively impacted performance, even with higher spatial resolutions. Note : different hyperparameters were tested, resulting in varied outcomes for different models, mostly biased and overfitted performance. The chosen parameters strike a balance, showcasing good performance without encountering overfitting concerns for any of the models. _a)_ _’General’_ _segmentation_ _evaluation_ _:_ Table V demonstrates the performance of the five models on the ’General’ ground truths annotations. Based on table V it can be concluded that the DeepLabv3+ and Attention UNet models stand out as the effective models among those five models exhibiting strong performance across precision, recall, and F1 Score for all classes, indicating a robust overall segmentation capability. Fig. 9 presents the prediction performance of the DeepLabv3+ on some of the test images. The quality of the segmentation prediction can be assessed by comparing the predicted masks to the ground truth masks. A good segmentation prediction should have a high overlap with the ground truth mask, and simultaneously be free of noise and artifacts. TABLE V: Models’ evaluation metrics on the RGB test set ’General’ ground truth. Model Metric _\_ Class Others IC Capacitor Connectors Unet Precision 0.96 0.39 0.74 0.63 Recall 0.99 0.04 0.69 0.56 F1 Score 0.98 0.07 0.71 0.60 IOU 0.96 0.03 0.55 0.42 Attention Unet Precision 0.98 0.73 0.83 0.39 Recall 0.99 0.55 0.73 0.99 F1 Score 0.98 0.63 0.78 0.56 IOU 0.97 0.46 0.64 0.39 ResUnet Precision 0.97 0.25 0.48 0.11 Recall 0.97 0.11 0.86 0.63 F1 Score 0.97 0.16 0.62 0.20 IOU 0.94 0.09 0.45 0.11 DeepLabv3+ Precision 0.98 0.58 0.84 0.81 Recall 0.98 0.66 0.70 0.68 F1 Score 0.98 0.62 0.76 0.74 IOU 0.97 0.45 0.62 0.59 LinkNet Precision 0.98 0.39 0.63 0.72 Recall 0.97 0.61 0.80 0.92 F1 Score 0.98 0.48 0.70 0.81 IOU 0.95 0.31 0.54 0.68 Fig. 9: Visual comparison of DeepLabv3+ predictions and ground truths on eight PCBs from the test set. From Fig.9 it can be seen that the DeepLabv3+ model performs well on the three classes, with a high overlap between the predicted and ground truth masks. However, there are some cases where the model fails. Here is more expansion on the overall performance of DeepLabv3+: _•_ The model performs very well on the ’IC’ class, with a high overlap between the predicted and ground truth masks. _•_ The model also performs well on the ’Capacitor’ class, but with some cases where the model misses some of the ’Capacitor’ pixels, e.g., the last PCB (bottom right). _•_ The model performs worst on the ’Connectors’ class, missing some of the Connector pixels, e.g., the third PCB from the left. _•_ The model tends to make more mistakes in images with complex backgrounds. Overall, the DeepLabv3+ model is a promising model for PCB segmentation. However, it is important to note that no model is perfect, and there will always be some cases where the model makes mistakes, especially in imbalanced class scenarios our PCB-Vision contains. _b)_ _’Monoseg’_ _segmentation_ _evaluation_ _:_ Table VI demonstrates the performance of the five segmentation models on the ’Monoseg’ ground truth annotations. Based on table VI, DeepLabv3+ exhibits strong overall performance, excelling in both precision and recall. This TABLE VI: Models’ evaluation metrics on the RGB test set ’Monoseg’ ground truth. Model Metric _\_ Class Others IC Capacitor Connectors Unet Precision 0.98 0.66 0.58 0.57 Recall 0.99 0.38 0.90 0.95 F1 Score 0.99 0.48 0.71 0.71 IOU 0.98 0.32 0.55 0.56 Attention Unet Precision 0.98 0.57 0.39 0.25 Recall 0.98 0.35 0.96 0.94 F1 Score 0.98 0.43 0.56 0.39 IOU 0.97 0.27 0.39 0.24 ResUnet Precision 0.98 0.26 0.37 0.15 Recall 0.98 0.09 0.84 0.82 F1 Score 0.97 0.14 0.53 0.25 IOU 0.96 0.07 0.37 0.14 DeepLabv3+ Precision 0.99 0.51 0.49 0.58 Recall 0.98 0.66 0.92 0.96 F1 Score 0.99 0.58 0.64 0.72 IOU 0.97 0.40 0.47 0.57 LinkNet Precision 0.99 0.47 0.49 0.86 Recall 0.98 0.61 0.84 0.97 F1 Score 0.99 0.53 0.62 0.91 IOU 0.97 0.36 0.44 0.83 suggests its effectiveness in capturing true positives while minimizing false positives and false negatives. Additionally, LinkNet demonstrates high precision across all classes, indicating accurate positive predictions. It achieves a moderate performance in terms of recall, precision, and F1 Score, making it another robust choice to consider for this particular type of ground truth. _C._ _Results: HSI_ In the context of hyperspectral data, several preprocessing steps are undertaken to enhance the quality and relevance of the dataset. These steps are crucial for ensuring that the hyperspectral information is effectively leveraged for subsequent model training. 1) Data normalization : The spectra in the hyperspectral data are normalized using information from the dark acquisition and white reference panel. This normalization process ensures that the spectral values fall within the standardized range of zero to one. 2) Data limiting : Post-normalization, some values might still fall outside the expected range due to factors like noise or the presence of materials with higher reflectance than the white reference panel, e.g., shiny metals (heat sink) on the PCB surface. To address this, values exceeding the range are limited to 1.0, while negative values are set to 0.0. 3) Train, validation, test split : Given the imbalanced nature of classes in hyperspectral data, a manual split is performed to ensure a balanced representation in the training set. This is particularly important to mitigate the impact of amplified class imbalance in HSI on model training. As stated in the statistics, the dataset is divided into training (56%), validation (5%), and test (39%) sets. Figures 10, 11, 12 demonstrates the split of the PCBVision HS data cubes into the three training, validation, and testing sets respectively. 4) Data augmentation : Data augmentation techniques, including random rotation (clockwise and counterclockwise), translation (vertical and horizontal), as well as horizontal and vertical flipping, are applied. These augmentations contribute to the model’s ability to generalize and perform well on unseen data. 5) Class imbalance mitigation : To address class imbalance, class weights are incorporated into the loss function during model training. This ensures that the model gives due consideration to classes with fewer samples, thereby improving its ability to recognize and classify the classes of interest over the ’Others’ class. Results are split into two main categories depending on the data type. We experimented with two types of data, the first is by reducing the dimensionality of the hyperspectral data cubes using Principal Component Analysis (PCA) utilizing the first three components. The second type of data was patches of the raw hyperspectral cubes. We ran two segmentation experiments on each of these two main types of data, one for the ’General’ ground truths and one for the ’Monoseg’ ground truths. _1)_ _HSI - PCA_ _:_ Our motivation behind using PCA came from the two features our hyperspectral cubes have, the spectral and the spatial features, therefore we extracted the spectral features using PCA and the spatial features using the benchmark segmentation models in an attempt to combine the merits of the two methods. The first three principal components were chosen since they cover up to 99% of the variance in the data as can be seen in Fig. 13. TABLE VII: PCA data training hyperparameters Hyperparameter Value Image resolution 640x640x3 Batch size 8 Optimizer Adam Loss function Weighted CCE Learning rate 1e-4 Class weights .1 - .7 - .95 - .8 Early stopping 20 TABLE VIII: Models’ evaluation metrics on the HSI PCA test set ’General’ ground truth. Model Metric _\_ Class Others IC Capacitor Connectors Unet Precision 0.95 0.65 0.42 0.11 Recall 0.98 0.33 0.22 0.10 F1 Score 0.96 0.44 0.29 0.11 IOU 0.93 0.28 0.17 0.06 Attention Unet Precision 0.95 0.51 0.66 0.11 Recall 0.97 0.34 0.11 0.20 F1 Score 0.96 0.41 0.19 0.14 IOU 0.92 0.26 0.11 0.08 ResUnet Precision 0.96 0.27 0.33 0.05 Recall 0.87 0.57 0.24 0.14 F1 Score 0.91 0.37 0.28 0.07 IOU 0.84 0.22 0.16 0.04 DeepLabv3 + Precision 0.94 0.77 0.54 0.47 Recall 0.99 0.25 0.32 0.64 F1 Score 0.97 0.38 0.40 0.54 IOU 0.93 0.24 0.25 0.37 LinkNet Precision 0.95 0.54 0.13 0.40 Recall 0.98 0.30 0.22 0.32 F1 Score 0.96 0.39 0.16 0.36 IOU 0.92 0.24 0.09 0.22 To augment the training set, we applied eight spatial-level augmentation techniques, enhancing the diversity of deep learning segmentation models input. These augmentations included clockwise and counterclockwise rotation, vertical and horizontal transition (positive and negative), and vertical and horizontal flipping. This resulted in a total of 126 PCA data samples for training. The hyperparameters that yielded the better results which were used for training the segmentation models on the PCA data are outlined in table VII. _a)_ _PCA_ _’General’_ _segmentation_ _:_ Table VIII shows the numerical evaluation of the five benchmark models on the PCA data with the ’General’ segmentation ground truth. From table VIII we conclude that as in the RGB cases, Deeplabv3+ exhibits strong performance across precision, recall, and F1 score for all classes, indicating a robust overall segmentation capability. _b)_ _PCA_ _’Monoseg’_ _segmentation_ _:_ Table IX shows the numerical evaluation of the five benchmark models on the PCA data with the ’Monoseg’ segmentation ground truth. Table IX demonstrates that Attention U-Net and DeepLabv3+ exhibited comparable performances across multiple classes, except for the ’Connectors’ class, where DeepLabv3+ achieved superior performance. _2)_ _HSI_ _-_ _Patches_ _:_ In this part, patches of raw data were fed to the DL models, in an attempt to construct an endto-end model capable of discerning both spectral and spatial features promising to the segmentation of the four classes. Ideally, the utilization of the entire hyperspectral (HS) cube would have been preferred; however, due to the large size of the HS cube, memory limitations were encountered. To address Fig. 10: HSI training set. TABLE IX: Models’ evaluation metrics on the HSI PCA test set ’Monoseg’ ground truth. Model Metric _\_ Class Others IC Capacitor Connectors Unet Precision 0.96 0.52 0.55 0.06 Recall 0.97 0.27 0.19 0.20 F1 Score 0.97 0.35 0.29 0.10 IOU 0.94 0.21 0.17 0.05 Attention Unet Precision 0.97 0.37 0.32 0.06 Recall 0.96 0.44 0.31 0.09 F1 Score 0.96 0.41 0.31 0.07 IOU 0.93 0.25 0.19 0.04 ResUnet Precision 0.97 0.14 0.12 0.02 Recall 0.82 0.50 0.34 0.15 F1 Score 0.88 0.21 0.18 0.04 IOU 0.79 0.12 0.10 0.02 DeepLabv3+ Precision 0.96 0.58 0.41 0.35 Recall 0.99 0.16 0.35 0.51 F1 Score 0.97 0.25 0.38 0.42 IOU 0.95 0.14 0.23 0.26 LinkNet Precision 0.97 0.30 0.07 0.30 Recall 0.91 0.52 0.52 0.59 F1 Score 0.94 0.38 0.13 0.40 IOU 0.98 0.23 0.07 0.25 Fig. 11: HSI validation set. this challenge, mitigating measures involved the reduction of spatial dimensions while preserving spectral characteristics. Consequently, the largest feasible patch size, specifically 128 by 128, was adopted, incorporating 214 spectral bands of the HS cube where the first ten bands were discarded due to Fig. 12: HSI testing set. Fig. 13: PCA explained variance the highly contained noise. It is noteworthy that while larger patch sizes could be accommodated by diminishing the batch size, such adjustments yielded suboptimal performance in our experiments. Specifically, experiments conducted with a batch size of 4 or below resulted in diminished model performance. The hyperparameters employed for this patch-based approach are outlined in table X. A comparative analysis of the hyperparameters utilized in the training scenarios for RGB and HSI PCA, as presented in tables IV and VII, along with table X reveals a notable distinction in the learning rate. Specifically, in the HSI patch TABLE X: Patches training hyperparameters Hyperparameter Value Image resolution 128x128x214 Batch size 8 Optimizer Adam Loss function Weighted CCE Learning rate 1e-5 Class weights .1 - .7 - .95 - .95 Early stopping 20 TABLE XI: Models’ evaluation metrics on the HSI patches test set ’General’ ground truth. Model Metric _\_ Class Others IC Capacitor Connectors Unet Precision 0.97 0.76 0.76 0.39 Recall 0.98 0.58 0.69 0.70 F1 Score 0.98 0.65 0.72 0.50 IOU 0.96 0.49 0.57 0.33 Attention Unet Precision 0.97 0.75 0.58 0.18 Recall 0.97 0.55 0.80 0.79 F1 Score 0.97 0.64 0.37 0.30 IOU 0.95 0.47 0.51 0.18 ResUnet Precision 0.98 0.72 0.51 0.22 Recall 0.97 0.70 0.86 0.70 F1 Score 0.98 0.71 0.64 0.34 IOU 0.95 0.55 0.47 0.20 training scenario, the learning rate is set at a lower value of 1e-5. This adjustment is not only empirically substantiated by observed results but is also theoretically justified due to the substantial increase in the number of training samples. The dataset size has significantly expanded from around a hundred instances in the PCA case and a couple of hundred in the RGB case to a couple of thousand instances in the patching scenario. For this resulting dataset, a smaller learning rate yielded better performance due to the smaller more repetitive parameter updates over more diverse training samples. _a)_ _HSI_ _Patches_ _General_ _Segmentation_ _:_ Table XI demonstrates the results of training three DL models on the ’General’ ground truth. Three benchmark models were used instead of five due to incompatibilities between the hyperspectral data patches and DeepLabv3+ and LinkNet models’ architecture. From table XI it can be concluded that among the models, ResUnet and Unet demonstrate similar performance across multiple classes, with ResUnet having an edge in capturing only ’IC’ whereas Unet was outperforming regarding the ’Capacitor’ and ’Connctors’ classes. Fig. 14 shows the segmentation prediction performance of U-Net on some test HSI patches of the three classes. Unet performs well on the three classes, with a high overlap between the predicted and ground truth masks. However, there are some cases in which the model makes mistakes. Furthermore: _•_ The fact that the model can achieve good segmentation performance on hyperspectral data which are much more information-rich and complex than RGB images is significant. This suggests that Unet has the potential to be used for a wide range of PCB HSI segmentation tasks. _•_ The model’s performance on the ’Connectors’ class is the weakest (examples in blue color), which suggests that there is room for improvement in this area. Future research could focus on developing new training techniques Fig. 14: Visual comparison of Unet predictions and ground truths on several HSI test patches. TABLE XII: Models’ evaluation metrics on the HSI patches test set ’Monoseg’ ground truth. Model Metric _\_ Class Others IC Capacitor Connectors Unet Precision 0.97 0.59 0.73 0.35 Recall 0.98 0.45 0.64 0.53 F1 Score 0.98 0.51 0.68 0.42 IOU 0.96 0.34 0.52 0.27 Attention Unet Precision 0.98 0.64 0.65 0.28 Recall 0.98 0.46 0.73 0.74 F1 Score 0.98 0.54 0.69 0.41 IOU 0.96 0.37 0.53 0.26 ResUnet Precision 0.98 0.55 0.51 0.18 Recall 0.97 0.64 0.87 0.55 F1 Score 0.97 0.59 0.64 0.28 IOU 0.95 0.42 0.47 0.16 or architectures that can improve the model’s performance on this class. _b)_ _HSI_ _Patches_ _Monoseg_ _Segmentation_ _:_ Table XI demonstrates the results of training the three DL models on the ’Monoseg’ ground truth. Both Unet and Attention Unet perform consistently across different metrics and classes, showing high precision and recall, with an edge for the Unet model. V. DISCUSSION In this section, we highlight the advantages of our PCBVision and the challenges that come along with performing segmentation on RGB and multiscene HS data cube. PCBVision provides advantages over the existing PCB and HSI datasets by providing: _•_ Unprecedented data fusion : Our dataset is the first in the PCB domain to integrate RGB and HSI data, offering a unique resource for comprehensive material characterization essential for efficient PCB recycling. _•_ Extensive scene variation : It includes 53 distinct hyperspectral scenes, providing unparalleled diversity that supports the development of robust and generalizable models for industrial applications. _•_ Industry-relevant settings : Specifically designed for proximal sensing in indoor industrial environments, our dataset bridges the gap between laboratory research and real-world industrial applications. _•_ Enhanced classification capabilities : Our dataset facilitates a three-class segmentation task, transcending the typical binary segmentation. This not only broadens its application scope but also ensures that models developed using our dataset can be easily adapted for simpler, binary tasks, thereby enhancing their practical utility and versatility. However, the data processing of RGB and HSI in PCB vision remains paired with multiple challenges to be explored further: _A._ _RGB Segmentation_ The segmentation performance across the RGB data reveals opportunities for further improvement. To enhance performance, increasing the dataset size beyond the current 53 (400 after augmentation) scenes is recommended as it is always the case in improving model generalization by providing more data, nevertheless, PCB-vision will be regularly updated with more scenes. Additionally, exploring more sophisticated deep learning models, leveraging pre-trained models, large vision models (LVMs) could contribute to improved segmentation results. The current benchmark models serve as a baseline, and further experimentation with a larger datasets and advanced models is warranted. _B._ _HSI Segmentation_ Segmenting multiscene hyperspectral data poses unique challenges due to the abundant information in hyperspectral cubes and lower spatial resolution compared to RGB images. Achieving high-performance segmentation requires models capable of extracting both spectral and spatial features efficiently. Several insights emerge from the HSI segmentation experiments: _•_ Incompatibility of RGB models on HSI data: Directly applying RGB segmentation benchmark models to HSI data yields suboptimal results. The substantial increase in the number of channels (214 in HS compared to 3 in RGB) introduces more parameters in the input layers, implying more parameters to be optimized with the same PCB scenes, leading to harder challenges in achieving higher generalizing performance. _•_ CNNs spatial/spectral feature extraction: CNNs excel in capturing spatial features as the above SOTA models proved. However, those models utilize only 2D CNNs and not 3D CNNs that incorporate spectral and spatial features simultaneously, yet, 3D CNNs are computationally demanding and slower than their 2D counterparts, making them unsuitable for industrial applications demanding fast real-time performance. _•_ Patching vs. PCA for memory efficiency: Utilizing patches of raw hyperspectral data addresses memory limitations but can disrupt spatial features, crucial for geometrically shaped objects like ICs and capacitors. Dimensionality reduction techniques like PCA provide an alternative, but the method of applying PCA worths consideration. _•_ PCA implementation challenges: Solving the patching problem that solves the lack of memory problem can be done by reducing the dimension of the HS data using a dimensionality reduction technique like PCA. The principal components that dimensionality reduction techniques produce can capture more than 90% of the variance in the data in only the first few components, making them suitable for the task. Usually, methods like PCA are implemented on the data cube first, then the resulted components are given to train the classification model. This sequence utilizes the idea of extracting the spectral features using a dimensionality model first, then extracting the spatial features using a segmentation model second, combining the best of both models towards better segmentation performance. However, note that in the provided data (our application) we have multiple data cubes in the training set, validation set, and testing set. Therefore, two questions arise: 1) Should PCA be implemented from scratch on each HS cube in all training and testing sets, and the principal components will be then the segmentation model input? 2) Should all the training cubes be used to train one PCA, and then use that trained PCA to transform the dataset? Implementing PCA on each hyperspectral cube independently introduces higher variance in results due to diverse compositions in different cubes. Thus posing a harder generalization challenge on the segmentation models. Alternatively, training a single PCA on all cubes increases homogeneity but demands a PCA method compatible with large multiscene hyperspectral dataset. _•_ Impact of undesired background: Another point we would like again to highlight is the negative effect undesired background brings to the processing pipeline. Having an undesired background in the HSI skews the calculation across the processing pipeline: – Dimensionality reduction impact: The presence of undesired pixels in hyperspectral data significantly influences principal component calculations, particularly when their quantity surpasses that of the desired pixels. This circumstance results in suboptimal principal components, leading to an imperfect representation of the target classes [46]. – Segmentation challenges: Undesired background pixels introduce complexities during segmentation. The model encounters increased intricacy, particularly when undesired pixels exhibit noise or share similar spectra with one of the classes of interest (e.g., conveyor belt pixels having spectra akin to ’IC’ pixels due to both being black polymers), the model experiences confusion in capsulizing the ’IC’ class, potentially leading to suboptimal convergence [46]. To address these challenges, a comprehensive solution involving the application of background masking throughout the entire processing pipeline is yet to be implemented. By effectively masking out the undesired background pixels, the adverse effects on dimensionality reduction techniques and segmentation DL models can be mitigated, promoting more accurate and robust results. VI. FUTURE CHALLENGES The above discussion highlighted empirical challenges that demand attention for achieving higher generalized performance in multiscene hyperspectral data analysis. Starting with data masking throughout the dataset, using the provided PCB masks in order to mitigate the effects of the undesired backgrounds. Furthermore, subsequent efforts involve the development of a multidata-type processing pipeline that seam lessly integrates RGB images with their hyperspectral pairs to overcome challenges unique to each data type. Additionally, we plan to continuously expand our PCB-Vision dataset by incorporating additional PCB scenes from diverse PCB sources and scanning sensors. This will help to better capture the variability in PCBs and improve the generalization ability of the classification models to unseen data. The primary focus revolves around the refinement of segmentation models, with an emphasis on enhancing generalization performance within the processing pipeline to ensure optimal fast performance on unseen HS data. In this pursuit, additional research initiatives aim to provide pre-trained backbones tailored for segmentation and super-resolution models, expanding the scope of this work towards comprehensive advancements in hyperspectral data analysis. VII. CONCLUSION In this work, we present a significant leap forward in PCB analysis along the generalized hyperspectral data processing concerning optimized E-waste recycling. We provide ’PCBVision’, a pioneering RGB-HSI benchmark dataset of 53 different printed circuit boards (PCB), offering essential insights into E-waste composition, and setting the data basis for solution developments in sustainable product design and their recycling strategies. Alongside the acquisition setup clarification and data description, we conducted an intensive statistical analysis of PCB-Vision. Moreover, we performed comprehensive experimentation with five SOTA segmentation models on both data types in PCB-Vision and highlighted the challenges and complexities inherent in classifying unseen hyperspectral data which is one of the main motivations for presenting the PCB-Vision benchmark dataset. The reported results not only contribute valuable insights into the performance of benchmark models but also emphasize the need for models with robust generalization capabilities. By addressing the detection of PCB elements towards object-based recycling, PCB-Vision supports the United Nations (UN) ”Climate Action” SDG 13 and promotes innovation in electronic waste management, contributing to sustainable industrial practices outlined in SDG 9 ”Industry, Innovation And Infrastructure”. As we look ahead, the outlined future challenges and proposed approaches aim to encourage further advancements in hyperspectral imaging and PCB analysis, fostering continued progress in this critical domain with the aim of optimized recycling. To democratize scientific knowledge and promote inclusive innovation, we will openly release the benchmark dataset, ground truths, and accompanying baseline codes at https://github.com/ hifexplo/PCBVision, enabling researchers from diverse fields to explore and contribute to the development of advanced E-waste recycling methodologies. This fosters resource collaboration and an open-access environment that aligns with the principles of the Green Deal. This paper, therefore, represents a crucial step for achieving interconnected SDGs, fostering responsible consumption, reducing environmental impact, and advancing industrial sustainability. VIII. ACKNOWLEDGMENT The authors express their gratitude to EIT RawMaterials for funding the project ’RAMSES-4-CE’ (KIC RM 19262). Appreciation is extended to the European Regional Development Fund (EFRE) and the Land of Saxony for their support in funding the computational equipment under the project ’CirculAIre.’ Special thanks go to Junaidh Shaik Fareedh for his contributions to CAD designs and to Yuleika Carolina Madriz Diaz for her assistance in data acquisition REFERENCES [1] G. I. Zlamparet, W. Ijomah, Y. Miao, A. K. Awasthi, X. Zeng, and J. Li, “Remanufacturing strategies: A solution for weee problem,” _Journal_ _of_ _Cleaner_ _Production_, vol. 149, pp. 126–136, 2017. [2] Y. Geng, J. Fu, J. Sarkis, and B. Xue, “Towards a national circular economy indicator system in china: An evaluation and critical analysis,” _Journal_ _of_ _cleaner_ _production_, vol. 23, no. 1, pp. 216–224, 2012. [3] F. Cucchiella, I. D’Adamo, S. L. Koh, and P. Rosa, “Recycling of weees: An economic assessment of present and future e-waste streams,” _Renewable and sustainable_ _energy_ _reviews_, vol. 51, pp. 263–272, 2015. [4] V. Forti, C. P. Balde, R. Kuehr, and G. Bel, “The global e-waste monitor 2020: Quantities, flows and the circular economy potential,” 2020. [5] M. Lieder and A. Rashid, “Towards circular economy implementation: A comprehensive review in context of manufacturing industry,” _Journal_ _of_ _Cleaner_ _Produc-_ _tion_, vol. 115, pp. 36–51, 2016. DOI: 10.1016/J. JCLEPRO.2015.12.042. [6] _Sustainable_ _development_ _goals_ _(sdgs)_, 2023. [Online]. Available: https://sdgs.un.org/goals. [7] Z. Chen, M. Yang, Q. Shi, X. Kuang, H. J. Qi, and T. Wang, “Recycling waste circuit board efficiently and environmentally friendly through small-molecule assisted dissolution,” _Scientific_ _Reports_, vol. 9, no. 1, p. 17 902, 2019. [8] J. Guo, J. Guo, and Z. Xu, “Recycling of non-metallic fractions from waste printed circuit boards: A review.,” _Journal_ _of_ _hazardous_ _materials_, vol. 168 2-3, pp. 567– 90, 2009. DOI: 10.1016/j.jhazmat.2009.02. 104. [9] Q. Ling and N. A. M. Isa, “Printed circuit board defect detection methods based on image processing, machine learning and deep learning: A survey,” _IEEE_ _Access_, 2023. [10] V. Nasir and F. Sassani, “A review on deep learning in machining and tool monitoring: Methods, opportunities, and challenges,” _The International Journal of Advanced_ _Manufacturing_ _Technology_, vol. 115, pp. 2683–2709, 2021. DOI: 10.1007/s00170-021-07325-7. [11] H. Lu, D. Mehta, O. Paradis, N. Asadizanjani, M. Tehranipoor, and D. L. Woodard, “Fics-pcb: A multimodal image dataset for automated printed circuit board visual inspection,” _Cryptology_ _ePrint_ _Archive_, 2020. [12] D. Mehta, J. True, O. P. Dizon-Paradis, _et_ _al._, “Fics pcb x-ray: A dataset for automated printed circuit board inter-layers inspection,” _Cryptology_ _ePrint_ _Archive_, 2022. [13] W. Huang and P. Wei, “A pcb dataset for defects detection and classification,” _arXiv_ _preprint_ _arXiv:1901.08204_, 2019. [14] S. Tang, F. He, X. Huang, and J. Yang, “Online pcb defect detector on a new pcb defect dataset,” _arXiv_ _preprint_ _arXiv:1902.06197_, 2019. [15] C. Pramerdorfer and M. Kampel, “A dataset for computer-vision-based pcb analysis,” in _2015_ _14th_ _IAPR_ _International_ _Conference_ _on_ _Machine_ _Vision_ _Ap-_ _plications_ _(MVA)_, IEEE, 2015, pp. 378–381. [16] G. Mahalingam, K. Gay, and K. Ricanek, “Pcb-metal: A pcb image dataset for advanced computer vision machine learning component analysis,” _2019_ _16th_ _In-_ _ternational Conference on Machine Vision Applications_ _(MVA)_, pp. 1–5, 2019. [Online]. Available: https : / / api . semanticscholar . org / CorpusID : 195885553. [17] T. Pearson, “Hardware-based image processing for high-speed inspection of grains,” _Computers_ _and_ _elec-_ _tronics_ _in_ _agriculture_, vol. 69, no. 1, pp. 12–18, 2009. [18] M. R. Jahanshahi, J. Kelly, S. F. Masri, and G. S. Sukhatme, “A survey and evaluation of promising approaches for automatic image-based defect detection of bridge structures,” _Structure_ _and_ _Infrastructure_ _Engi-_ _neering_, vol. 5, pp. 455–486, 2009. [Online]. Available: https://api.semanticscholar.org/ CorpusID:11723887. [19] D. Herchenbach, W. Li, and M. Breier, “Segmentation and classification of thcs on pcbas,” in _2013_ _11th_ _IEEE_ _International Conference on Industrial Informatics (IN-_ _DIN)_, IEEE, 2013, pp. 59–64. [20] W. Li, B. Esders, and M. Breier, “Smd segmentation for automated pcb recycling,” in _2013_ _11th_ _IEEE_ _Inter-_ _national Conference on Industrial Informatics (INDIN)_, IEEE, 2013, pp. 65–70. [21] W. Li, S. Neullens, M. Breier, M. Bosling, T. Pretz, and D. Merhof, “Text recognition for information retrieval in images of printed circuit boards,” in _IECON_ _2014-40th_ _Annual_ _Conference_ _of_ _the_ _IEEE_ _Industrial_ _Electronics_ _Society_, IEEE, 2014, pp. 3487–3493. [22] J. Kim, J. Ko, H. Choi, and H. Kim, “Printed circuit board defect detection using deep learning via a skipconnected convolutional autoencoder,” _Sensors_, vol. 21, no. 15, p. 4968, 2021. [23] R. Ding, L. Dai, G. Li, and H. Liu, “Tdd-net: A tiny defect detection network for printed circuit boards,” _CAAI_ _Transactions_ _on_ _Intelligence_ _Technology_, vol. 4, no. 2, pp. 110–116, 2019. [24] V. A. Adibhatla, H.-C. Chih, C.-C. Hsu, J. Cheng, M. F. Abbod, and J.-S. Shieh, “Defect detection in printed circuit boards using you-only-look-once convolutional neural networks,” _Electronics_, vol. 9, no. 9, p. 1547, 2020. [25] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once: Unified, real-time object detection,” in _Proceedings_ _of_ _the_ _IEEE_ _conference_ _on_ _computer vision and pattern recognition_, 2016, pp. 779– 788. [26] R. Willett, M. F. Duarte, M. Davenport, and R. Baraniuk, “Sparsity and structure in hyperspectral imaging : Sensing, reconstruction, and target detection,” _IEEE_ _Signal_ _Processing_ _Magazine_, vol. 31, pp. 116–126, 2014. DOI: 10.1109/MSP.2013.2279507. [27] T. Englert, F. Gruber, J. Stiedl, _et al._, “Use of hyperspectral imaging for the quantification of organic contaminants on copper surfaces for electronic applications,” _Sensors_, vol. 21, no. 16, p. 5595, 2021. [28] R. R. Carvalho, J. A. Coelho, J. M. Santos, F. W. Aquino, R. L. Carneiro, and E. R. Pereira-Filho, “Laserinduced breakdown spectroscopy (libs) combined with hyperspectral imaging for the evaluation of printed circuit board composition,” _Talanta_, vol. 134, pp. 278–283, 2015, ISSN: 0039-9140. DOI: https://doi.org/ 10.1016/j.talanta.2014.11.019. [Online]. Available: https://www.sciencedirect.com/ science/article/pii/S0039914014009114. [29] R. Palmieri, G. Bonifazi, and S. Serranti, “Recyclingoriented characterization of plastic frames and printed circuit boards from mobile phones by electronic and chemical imaging,” _Waste Management_, vol. 34, no. 11, pp. 2120–2130, 2014. [30] L. Rapolti, H. Rodica, L. Grindei, _et_ _al._, “Experimental stand for sorting components dismantled from printed circuit boards,” _Minerals_, vol. 11, no. 11, p. 1292, 2021. [31] V. Sudharshan, P. Seidel, P. Ghamisi, _et_ _al._, “Object detection routine for material streams combining rgb and hyperspectral reflectance data based on guided object localization,” _IEEE_ _Sensors_ _Journal_, vol. 20, no. 19, pp. 11 490–11 498, 2020. [32] S. Polat, A. Tremeau, and F. Boochs, “Combined use of 3d and hsi for the classification of printed circuit board components,” _Applied_ _Sciences_, vol. 11, no. 18, p. 8424, 2021. [33] A. Krizhevsky, I. Sutskever, and G. E. Hinton, “Imagenet classification with deep convolutional neural networks,” _Advances_ _in_ _neural_ _information_ _processing_ _systems_, vol. 25, 2012. [34] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, “Rethinking the inception architecture for computer vision,” in _Proceedings_ _of_ _the_ _IEEE_ _confer-_ _ence on computer vision and pattern recognition_, 2016, pp. 2818–2826. [35] Y.-Z. Feng and D.-W. Sun, “Application of hyperspectral imaging in food safety inspection and control: A review,” _Critical_ _reviews_ _in_ _food_ _science_ _and_ _nutrition_, vol. 52, no. 11, pp. 1039–1058, 2012. [36] M. A. Calin, S. V. Parasca, D. Savastru, and D. Manea, “Hyperspectral imaging in the medical field: Present and future,” _Applied_ _Spectroscopy_ _Reviews_, vol. 49, no. 6, pp. 435–447, 2014. [37] S. K. Roy, G. Krishna, S. R. Dubey, and B. B. Chaudhuri, “Hybridsn: Exploring 3-d–2-d cnn feature hierarchy for hyperspectral image classification,” _IEEE_ _Geoscience_ _and_ _Remote_ _Sensing_ _Letters_, vol. 17, no. 2, pp. 277–281, 2019. [38] D. Uchaev and D. Uchaev, “Small sample hyperspectral image classification based on the random patches network and recursive filtering,” _Sensors_, vol. 23, no. 5, p. 2499, 2023. [39] O. Ghorbanzadeh, Y. Xu, P. Ghamisi, M. Kopp, and D. Kreil, “Landslide4sense: Reference benchmark data and deep learning models for landslide detection,” _arXiv_ _preprint_ _arXiv:2206.00515_, 2022. [40] D. Hong, B. Zhang, H. Li, _et_ _al._, “Cross-city matters: A multimodal remote sensing benchmark dataset for cross-city semantic segmentation using high-resolution domain adaptation networks,” _Remote_ _Sensing_ _of_ _Envi-_ _ronment_, vol. 299, p. 113 856, 2023. [41] S. Ren, K. He, R. Girshick, and J. Sun, “Faster r-cnn: Towards real-time object detection with region proposal networks,” _Advances_ _in_ _neural_ _information_ _processing_ _systems_, vol. 28, 2015. [42] B. Rasti, A. Jain, M. Fuchs, P. Ghamisi, and R. Gloaguen, “Hyperspectral domain adaptation for the detection of material types in recycling streams at the example of electrolyzers,” in _IGARSS_ _2023-2023_ _IEEE_ _International_ _Geoscience_ _and_ _Remote_ _Sensing_ _Symposium_, IEEE, 2023, pp. 7618–7620. [43] _Resource_ _efficiency_ _and_ _waste_ . European Environment Agency (EEA), 2018. [Online]. Available: https:// www.eea.europa.eu/themes/waste/intro. [44] S. T. Thiele, S. Lorenz, M. Kirsch, _et_ _al._, “Multiscale, multi-sensor data integration for automated 3-d geological mapping,” _Ore_ _Geology_ _Reviews_, vol. 136, p. 104 252, 2021. [45] V. A. Nguyen, _Anylabeling:_ _Effortless_ _ai-assisted_ _data_ _labeling_ _with_ _ai_ _support_ _from_ _yolo,_ _segment_ _anything,_ _mobilesam!!_ [Online]. Available: https://github. com/vietanhdev/anylabeling. [46] E. Arbash, A. de Lima Ribeiro, S. Thiele, _et_ _al._, _Masking_ _hyperspectral_ _imaging_ _data_ _with_ _pretrained_ _models_, 2023. arXiv: 2311.03053 [cs.CV]. [47] O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in _Medical_ _Image_ _Computing_ _and_ _Computer-Assisted_ _Intervention–MICCAI_ _2015:_ _18th_ _International_ _Confer-_ _ence,_ _Munich,_ _Germany,_ _October_ _5-9,_ _2015,_ _Proceed-_ _ings,_ _Part_ _III_ _18_, Springer, 2015, pp. 234–241. [48] L.-C. Chen, Y. Zhu, G. Papandreou, F. Schroff, and H. Adam, “Encoder-decoder with atrous separable convolution for semantic image segmentation,” in _Proceed-_ _ings_ _of_ _the_ _European_ _conference_ _on_ _computer_ _vision_ _(ECCV)_, 2018, pp. 801–818. [49] O. Oktay, J. Schlemper, L. L. Folgoc, _et_ _al._, “Attention u-net: Learning where to look for the pancreas,” _arXiv_ _preprint_ _arXiv:1804.03999_, 2018. [50] Z. Zhang, Q. Liu, and Y. Wang, “Road extraction by deep residual u-net,” _IEEE_ _Geoscience_ _and_ _Remote_ _Sensing_ _Letters_, vol. 15, no. 5, pp. 749–753, 2018. [51] A. Chaurasia and E. Culurciello, “Linknet: Exploiting encoder representations for efficient semantic segmentation,” in _2017 IEEE visual communications and image_ _processing_ _(VCIP)_, IEEE, 2017, pp. 1–4. [52] C. Shorten and T. M. Khoshgoftaar, “A survey on image data augmentation for deep learning,” _Journal_ _of_ _big_ _data_, vol. 6, no. 1, pp. 1–48, 2019. [53] A. Buslaev, V. I. Iglovikov, E. Khvedchenya, A. Parinov, M. Druzhinin, and A. A. Kalinin, “Albumentations: Fast and flexible image augmentations,” _Information_, vol. 11, no. 2, 2020, ISSN: 2078-2489. DOI: 10 . 3390/info11020125. [Online]. Available: https: //www.mdpi.com/2078-2489/11/2/125. [54] L. Perez and J. Wang, “The effectiveness of data augmentation in image classification using deep learning,” _arXiv_ _preprint_ _arXiv:1712.04621_, 2017.

섹션 본문 93문단 · 53,258자

(제목 없음)

1Addressing the critical theme of recycling electronic waste (E-waste), this contribution is dedicated to developing advanced automated data processing pipelines as a basis for decision-making and process control.Aligning with the broader goals of the circular economy and the United Nations (UN) Sustainable Development Goals (SDG), our work leverages noninvasive analysis methods utilizing RGB and hyperspectral imaging data to provide both quantitative and qualitative insights into the E-waste stream composition for optimizing recycling efficiency.In this paper, we introduce 'PCB-Vision'; a pioneering RGB-hyperspectral printed circuit board (PCB) benchmark dataset, comprising 53 RGB images of high spatial resolution paired with their corresponding high spectral resolution hyperspectral data cubes in the visible and near-infrared range.Grounded in open science principles, our dataset provides a comprehensive resource for researchers through high-quality ground truths, focusing on three primary PCB components: integrated circuits (IC), capacitors, and connectors.We provide extensive statistical investigations on the proposed dataset together with the performance of several benchmark state-of-theart models (SOTA), including U-Net, Attention U-Net, Residual U-Net, LinkNet, and DeepLabv3+.By openly sharing this multiscene benchmark dataset along with the baseline codes, we hope to foster transparent, traceable, and comparable developments of advanced data processing across various scientific communities, including, but not limited to, computer vision and remote sensing.Emphasizing our commitment to supporting a collaborative and inclusive scientific community, all materials, including code, data, ground truth, and masks, will be accessible at https://github.com/hifexplo/PCBVision.

I. INTRODUCTION

2The electronics market has witnessed remarkable growth and development over the last few years, driven by the high demand for new generations of electronic devices.However, this accelerated technological advancement has resulted in a considerably reduced lifespan for electronic products, leading to a surge in electronic waste (E-waste) [1].Research studies and journal reports indicate that the global E-waste generation has been escalating at an unprecedented rate, posing significant environmental challenges and sustainability concerns [2].It is estimated that each year around 30 to 50 million tons of waste from electrical and electronic equipment (WEEE) are disposed, with an annual growth rate estimation of 3 to 5% [3].In 2019, a staggering 53.6 million metric tons of Ewaste was generated globally, with only 17.4% of it officially documented as recycled [4].This resulting accumulation of E-waste, along with its unrecovered critical and toxic raw materials demands effective and efficient recycling strategies to mitigate its environmental impact and harness the economic value hidden within E-waste components.

3The concept of a circular economy provides a framework for addressing E-waste challenges by promoting the recovery, and reuse of materials [5].E-waste recycling specifically plays a crucial role in this transition by transforming discarded electronic devices into valuable resources.E-waste recycling also contributes to the achievement of several sustainable development goals (SDGs) outlined by the United Nations (UN) [6].E-waste recycling reduces primary resource consumption and waste generation at the same time corresponding to SDG 12 "Responsible Consumption and Production: Ensure Sustainable Consumption and Production Patterns".Moreover, it helps reduce greenhouse gas emissions associated with virgin material extraction and processing supporting SDG 13 "Climate Action".Additionally, promoting the reuse of existing materials to reduce the environmental impact of virgin resource extraction aligns with SDG 15 "Life on land".

4Among the myriad electronic components contributing to E-waste, printed circuit boards (PCBs) hold particular significance due to their widespread use in various electronic devices.The recycling of waste PCBs can unlock significant value, given their considerable residual content.Approximately 28% of a PCB's weight is constituted by high-grade precious metals such as Au, Ag, Cu, Pd, and Ta [7].The extraction of those metals can help reduce the need for raw material extraction.Nevertheless, waste PCBs present environmental and health hazards.The methods employed for extracting precious metals, particularly in open-air settings like PCB acid baths [8], can inadvertently release toxic substances, including lead and mercury into the environment [7].

5To achieve efficient and sustainable recycling of PCB components, i.e., an optimized E-waste recycling, there arises a pressing need for automated advanced analytical techniques and informative systems that can provide both qualitative and quantitative information in a short time about the PCB composition.Smart systems that adopt optical sensors, including but not limited to RGB cameras, have demonstrated remarkable potential in this domain [9].By leveraging the rich data and information obtained from these sensors, machine learning (ML) and deep learning (DL) methods are to be deployed to streamline the recycling process and improve its accuracy and efficiency [10].Motivated by these technological and computational advancements, our project Ramses for Circular Economy (Ramses-4-CE) spearheads the development of optical spectroscopy-based multi-sensor systems tailored for the E-waste recycling industry.At the core of our initiative lies the pursuit of advanced multi-source data fusion e.g., RGB and hyperspectral imaging sensors.The usage of ML techniques for data fusion enables rapid data integration and automates information extraction from E-waste, thereby optimizing Ewaste recycling practices.RGB cameras offer several advantages, such as costeffectiveness, high spatial resolution, low integration time, ease of use, and real-time data acquisition, making them popular choices for various PCB applications, such as defect detection and quality control.These cameras excel in capturing visual information at a sub-millimeter pixel scale and are widely utilized in image-based inspection systems within the electronics industry [ [11], [12]].

6Work examples where RGB cameras contributed to PCBsoriented informative systems are Herchenbach et al. [13] who used the RGB and the depth information of the Microsoft Kinect sensor to segment and classify the through-hole components (THC) mounted on printed circuit board assembly (PCBA).Li et al. [14] proposed an information retrieval automated PCB recycling system by detecting and segmenting surface-mounted devices (SMDs) of two kinds, small devices like resistors and capacitors, and integrated circuits (IC).In another work, Li et al. [15] also enhanced the text information retrieval of optical character recognition (OCR) from RGB images by developing a novel thresholding method that utilizes an adaptive window size along with background estimation.Li et al. work proves that text recognition quality can be improved by enhancing the binarization of text contents.For PCB inspection and fault detection systems, Kim et al. [16] developed a skip-connected convolutional autoencoder that took RGB images as input to detect defects in PCB for automating PCB surface inspection.Ding et al. [17] propose a tiny defect detection network (TDD-Net) utilizing deep convolutional neural networks (CNN) to enhance PCB quality control systems using RGB images.In [18] Adibhatla et al. used a version of you-only-look-once (YOLO) [19] named tinyYOLOv2 DL algorithm for defect detection in PCBs using 11,000 RGB images for PCB quality inspection.

7In contrast to RGB, hyperspectral imaging (HSI) cameras bring an abundance of benefits for PCB component detection and inspection systems, e.g.offering comprehensive spectral coverage that enables the identification and analysis of materials based on their unique spectral signatures [26].Several studies employed spectroscopy-based methods to analyze and map PCB compositions, e.g., Englert et al. in [27] proposed a monitoring method to detect and quantify organic contaminations on technical surfaces using hyperspectral imaging and X-ray photoelectron spectroscopy (XPS).Carvalho et al. [28] examined and analyzed 1,200 DSLR + Linescan Spectrometer emission points on a 30mmx40mm section of a 2011 mobile phone PCB sample within the wavelength range of 186 to 1040 nm using laser-induced breakdown spectroscopy (LIBS) and scanning electron microscopy with energy-dispersive Xray spectroscopy (SEM-EDS).Their investigation focused on determining the metal compositions, and a graphical map of the metal distribution was obtained.In a study done on end-of-life mobile phone wastes, Palmieri et al. [29] proved that the characterization which combines traditional methods like scanning electron microscopy and Raman spectroscopy alongside innovative hyperspectral imaging in the short-wave infrared range significantly enhances recycling strategies and product recovery outcomes.Rapolti et al. [30] developed a two-stage sorting stand for E-waste, employing optical sensors in both stages.The first stage utilizes a Specim near-infrared FX10e hyperspectral camera and a robotic arm.Unrecognized items proceed to the second stage, which employs an IFM Electronics contour vision sensor and actuators for further sorting.Sudharshan et al. [31] proposed an enhanced version of the FasterRCNN object detection method called GOLbased Faster-RCNN that utilizes RGB and FX17 HSI camera information for enhancing the object detection performance of PCB components for aiding the recycling and recovery systems of PCB.Polat et al. [32] fused 3D point clouds and HSI for classifying different types of objects and materials of electronic waste like shredded PCBs and plastics, this usage allowed the combination of geometrical and physical information to help components distinguish routines of PCB components.

8The aforementioned systems enrich the research towards building efficient non-invasive PCB informative systems that act as a cornerstone for efficient PCB recycling streams.However, a foundational element in the development of those advanced systems is having comprehensive datasets that act as the bedrock upon which algorithms and models are designed and tested.To our knowledge, only a few PCB datasets are publicly available e.g., the publicly available 'FICS-PCB' dataset developed by Mehta et al. [20] stands out as a valuable resource for the development of robust PCB automated visual inspection (AVI) systems.Containing 9,912 RGB images with 77,347 annotated components from 31 distinct PCBs, the FICS-PCB dataset provides a comprehensive platform for evaluating and improving the performance of PCB AVI algorithms.The authors demonstrated the effectiveness of two deep learning (DL) architectures, AlexNet [33], and Inception-v3 [34], on the FICS-PCB dataset, achieving promising results in PCB components classification.Mehta et al. [21] also proposed another dataset 'FICS-PCB X-ray' that supports the PCB-AVI which is the first annotated X-ray PCB dataset for automated PCB inter-layer inspection including 5 PCBs each containing 3D volumetric data that can be extracted into 2D slices for the analysis.In the field of PCB automated optical inspection (AOI), Huang et al. [22] proposed a PCB dataset referred to as 'PCBA-Defect' for defect detection and classification containing 1,386 RGB images with six kinds of synthetic defects (missing hole, mouse bite, open circuit, short, spur and spurious copper) photoshopped on cropped images of scanned PCB traces using an industrial camera equipped with a CMOS sensor and a zoomable industrial lens.In [23] Tang et al. proposed 'DeepPCB', a dataset containing 1,500 binary image pairs of defect-free and defected traces with annotations of six common types of defects (open, short, mouse bite, spur, pinhole, and spurious copper) along their positions, moreover a DL model utilizing a novel group pyramid pooling was proposed to efficiently detect the PCB trace defects.To facilitate research on computer-visionbased PCB analysis, Pramerdorfer et al. [24] proposed a PCB dataset referred to as 'PCB-DSLR' containing 748 images of 165 different PCBs using a digital single-lens reflex (DSLR) camera scanned in an industrial-like environment on top of a conveyor belt.'PCB-DSLR' is also provided with accurate PCB segmentation information, in addition to 9,313 bounding boxes for detecting integrated circuits (ICs), along with textual information of the labels of 1,740 IC samples.A similar to [24] but more abundant PCB dataset is Mahalingam et al. [25] who introduced 'PCB-Metal' (PCB Metal is not available to this publication date); a 984 high-resolution RGB images PCB dataset of 123 different PCBs with object detection ground truths of 4 main components of PCBs (IC, capacitors, resistors, and inductors) useful for image-based PCB analysis, e.g., PCB classification, component detection, etc. Table I provides a summary of the publicly available PCB datasets with their sensor and data types information according to our knowledge.

9It can be noted that, although reflectance-based HSI provides further features (spectral representation of a physical absorption process) that allow more advanced vital analysis for the PCB recycling-oriented system, the image processing progression of HSI lags behind its RGB counterpart due to the scarcity of available data.The advancement of models and methodologies in HSI requires large datasets, facilitating enhanced development of non-invasive PCB inspection systems.

10Existing HSI datasets remain sparse, many are confined to a single scene, and highly non-industrialized applications are rather more focused on food [35], medical fields [36], and earth observation e.g., Indian Pines, Houston, Salinas scene, Kennedy Space Center, and Pavia University.Those datasets formed a baseline to develop many of the HSI classification modalities e.g., 'HybridSN' [37] a model by Roy et al. that combines 3D CNN with 2D CNN for rich extraction spatialspectral feature representations.The utilization of 3D CNN on the full HSI scene on a graphical processing unit (GPU) demands a lot of unavailable memory, therefore patching from the scene was fed to the model.For unshaped objects e.g., earth observation scenes, this is not a problem, but it might be for geometrically shaped objects like PCBs as we discuss later on.Another example is Uchaev et al. [38] who presented RPNet-RF, a model that combines recursive filtering and random patches network (RPNet) to extract informative features that will be combined with the HSI spectral features to classify the HSI using a support vector machine (SVM) classifier.Nonetheless, the lack of multiscene hyperspectral (HS) data hinders the development of HSI image processing models with high generalization ability to unseen scenes, therefore, multiscene hyperspectral datasets are needed.The multiscene HSI datasets allow models to handle more illumination variations, noise (ambient and instrument), and variable proportions of content (objects/ classes), which challenge existing models trained on single-scene datasets.Recently, more sophisticated multiscene HSI datasets emerged, for instance, 'landslide4sense' presented by Ghorbanzadeh et.al [39] where 3,799 HSI patches of size 128 by 128 acquired by fusing optical layers from the Sentinel-2 sensor collected at four different times and geographical locations: Iburi (2018), Kodagu (2018), Gorkha (2015), and Taiwan (2009).Landslide4sense provides binary classification ground truth of landslide or non-landslide labels to facilitate accurate detection of landslide extents.Further remote sensing urban environment multiscene dataset is 'C2Seg' provided by Hong et al. [40].C2Seg is a multimodal multiscene benchmark dataset consisting of two cross-city scenes; Berlin-Augsburg (Germany) and Beijing-Wuhan (China) for the sake of crosscity semantic segmentation studies.C2Seg contains multiple data types including hyperspectral, multispectral, and synthetic aperture radar (SAR).Such datasets support the development of high-in-generalization HS data classification models since they allow classifiers to be trained on data from multiple scenes, i.e., considering further variance in the targets which improves the prediction performance on unseen data.

11Nevertheless, all the above-mentioned datasets and investigations do not provide a simultaneously comprehensive presentation of PCBs across both RGB and HSI domains.Addressing this gap, we introduce 'PCB-Vision', a multiscene The integration of RGB and HS data within a single dataset holds significant promises, such datasets foster cross-modal exploration, empowering researchers and practitioners to forge novel pathways for material stream digitalization, monitoring and intelligent, data-driven decision-making in PCB recycling without the need to build expensive setups.PCB-Vision is a multi-scene RGB-HSI dataset, centered on PCBs, it unlocks a multitude of prospects for advancing computer vision techniques.Its potential extends beyond segmentation and object detection to applications like pansharpening and superpixel restoration in remote sensing.Our endeavor with this dataset is fortified by statistical analyses and crafted supervised learning ground truths for both RGB and hyperspectral data modalities.Through comprehensive numerical evaluations of segmentation models on these data types, we lay the foundation for innovative research endeavors and pioneering solutions to address the urgent challenges posed by E-waste recycling and support pathways to future concepts of more robot-aided and object-oriented E-waste component separation.PCB-Vision can help identify the most valuable components of PCBs as we later present in the classes of interest, which can maximize the recovery of valuable materials and improve the efficiency of recycling processes [41].

12PCB-Vision provides a platform for evaluating and comparing different PCB analysis methods.This benchmarking fosters innovation and collaboration in E-waste recycling by encouraging collaboration and innovation among researchers and industry.PCB-Vision pushes the E-waste recycling methods a step forward toward more efficient and environmentally friendly technologies by accelerating the development of noninvasive real-time analytical systems that meet the industrial demands for in-line data processing pipelines that assist subsequent tasks.This supports the Green Deal and the circular economy.

13The subsequent sections of this paper are structured as follows: Section two provides a comprehensive overview of the dataset, addressing acquisition requirements, outlining the provided annotations, and presenting their associated statistics.

14Section three delves into the methodologies and models employed on the dataset, moreover, we detail the experimental procedures involved in training the models, along with the subsequent numerical evaluations.Section four discusses the forthcoming challenges and outlines the trajectory for future research directions.Finally, section five encapsulates our conclusions and summarizes the work's contributions.

II. DATASET DESCRIPTION

15This section provides a comprehensive overview of the dataset, detailing the sensors employed for acquisition and presenting statistics related to the annotations.Figure 1 gives a glance at the PCB-Vision workflow.The conveyor belt industrial setup of the data acquisition shows the RGB and HSI cameras mounted on top of the belt scanning the PCBs and giving high spatial resolution images along with high spectral resolution HSI.The data is further preprocessed and normalized to fit the processing pipeline of DL models which after the training phase perform predictions to identify valuable PCB components.

A. Data Acquisition

16The dataset encompasses RGB images captured by a Teledyne Dalsa Genie Nano-C4020 camera and HS data cubes obtained using a Specim FX10 spectrometer.The two sensors are positioned atop the conveyor belt in our Helios laboratory at the Helmholtz Institute Freiberg for Resource Technology (HIF) as shown in figure 2. The C4020 camera is characterized with a full-frame capture capability, while the FX10 spectrometer operates as a line scan device with high spatial resolution across the visible and near-infrared (VNIR) range.Illumination of the PCB stream was achieved using eight broad-band quartz-tungsten halogen lights.Table II provides detailed acquisition parameters for the two cameras.Hyperspectral data acquisition with the FX10 was performed Fig. 2: Acquisition setup at Helios Lab [31] using the Specim Lumo Recorder software (Spectral Imaging Ltd., Oulu, Finland).Before capturing the PCBs cubes, a dark reference frame was acquired with the shutter closed.Subsequently, a white reference panel with 99% reflectance was captured.Using the Hylite toolbox [42], we converted the raw hyperspectral datacubes to reflectance by applying the reference levels from the white and dark reference measurements, such that each pixel within the resulting cubes constitutes a vector representing the corrected reflectance spectra.Figure 3 presents PCB 1 true color representation of the HSI along the spectra of the classes of interest ('IC', 'Capacitor', 'Connectors'), in addition to the conveyor belt surface.The spectra were taken from a random point on the surface of the four objects.From 3b we notice the spectra of class 'IC' are similar to the spectra of the conveyor belt.This is expected since the IC surface material and the conveyor belt material are similar black polymers, therefore they will reflect similar spectra in this range.We wanted to highlight this situation since this will confuse models that utilize spectral information only to do pixel-wise classification (segmentation) of those two classes.Further analysis of this problem is introduced in the experiments section.

17For the annotation of hyperspectral cubes and the creation of pixel-wise classification ground truths, the Envi Classic (ENVI™ 5.1, Exelis Visual Information Solutions, Boulder, Colorado) software was employed.Simultaneously, RGB images were annotated using the Anylabeling [43] annotation tool.These steps facilitated the generation of accurate and informative segmentation ground truths of three main components commonly found in every PCB, for subsequent computer vision tasks.

B. Annotations

18Our research focuses on three fundamental objects commonly encountered in PCBs: Integrated Circuits (ICs), electrolytic capacitors, and connectors.The selection of ICs and connectors is driven by their significant economic value, while the inclusion of electrolytic capacitors is motivated by their potentially hazardous components.The accurate localization and detection of these components is a main task of our project's technical objectives.However, the tasks of our project 'Ramses' involve unique cases that demand a specialized type of segmentation ground truth different than the general segmentation ground truth that covers all the object's surface.For this purpose, an annotation ground truth named 'Monoseg' was created.Nonetheless, To enhance the dataset's versatility and contribution to the broader field of computer vision research, we also provide classic segmentation ground truths called 'General', making the dataset suitable for general-purpose tasks beyond the Ramses project.The main difference between the two segmentation types lies in the included object's surface area which is explained thoroughly further.While it's conceivable to expand the number of object classes within the dataset, this process is subject to scalability considerations, ensuring a balanced and comprehensive representation of various PCB elements.

191) General Segmentation Annotations: In this study, we define the 'General' segmentation ground truth as ground truth annotations encompassing all surfaces of the PCB components, regardless of the number of materials present on each surface.The resulting segmentation ground truth map for the PCB1 RGB image is depicted in subfigure 4a.It can be seen how all the surface of each class of interest component is taken as ground truth.This is the main difference between the two annotation styles 'General' and 'Monoseg'.2) Monoseg Annotations: In the context of the Ramses project, the segmentation ground truths adhere to a specific approach where only the primary material of an object's surface is labeled.This means excluding any additional markings, labels, or inscriptions present on PCB components' surfaces like labels that are printed on ICs surfaces.The rationale behind the 'Monoseg' ground truth style aligns with the use of point measurement sensors, such as XRF, and Raman spectroscopy that provides valuable chemical composition information about the reading point.In this approach, a point measurement is conducted within a given segment, and this measure must be taken where meaningful results are anticipated not where other labeling materials exist.Such obstructions of reading the wrong material point can lead to incorrect readings, potentially compromising the accuracy of the composition analysis.To mitigate this potential source of inaccuracies, the 'Monoseg' segmentation ground truth deliberately excludes all non-object-based materials.

20Subfigure 4b shows this annotation strategy on the PCB1 RGB image where 'Monoseg' ground truth considers only a specific part of the component surface, e.g., the surface of the bottom left IC is partially selected since the printing label on the surface is ignored.For a better comparison of the two annotation styles, figure 5 demonstrates the ground truth maps of the PCB 1 RGB image for each annotation style.

21The difference between the two annotation styles can be noticed in the bottom left IC and all the capacitors (green) where only the main material of the classes of interest are considered as targets.

C. Statistics

22This section provides relevant statistics about the dataset and the ground truth containing the three classes of interest 'IC', 'Capacitor', and 'Connectors'.The two ground truth sets 'Monoseg' and 'General' have different sizes, the 'General' ground truth contains more segmented pixels for the 'IC' and 'Capacitor' classes.In this section, we present the statistics of the 'General' ground truth.However, although we provide two independent ground truths for both RGB and HSI, we highlight the ground truth of the hyperspectral ones, given its critical nature which plays an important role in selecting the training data for the HSI processing pipeline.

23The dataset comprises 53 PCBs scanned using both hyperspectral and RGB cameras mounted on top of a black conveyor belt.The nature of this setup introduces the challenge of unwanted background (the black conveyor belt) surrounding the PCBs, significantly impacting various HSI preprocessing steps, such as data normalization, and dimensionality reduction, and processing steps like training State-Of-The-Art (SOTA) segmentation models.Moreover, the spectra of the conveyor belt closely resemble the spectra of the IC's dark plastic coating.To address this issue, we create PCB masks using the method proposed in [44], to help effectively eliminate the undesired background vectors and preserve only the PCB, our object of interest.

24As mentioned previously, our dataset of 53 PCBs encompasses three classes: 'IC', 'Capacitor', and 'Connectors'.However, these classes are unbalanced, object-wise and pixel-wise across the dataset.Figure 6 presents a pie chart illustrating the percentage of the mentioned classes pixels.Figure 6 reveals a highly imbalanced class case, where the 'IC' class (red) dominates the dataset, constituting 82.0% of the ground truth, accounting for more than three-quarters of the entire dataset.Following this, the 'Connectors' class (blue) comprises 9.2% of the dataset, while the 'Capacitor' class (green) represents 8.7% of the dataset.

25To gain a comprehensive understanding of the dataset and facilitate the subsequent HS cubes train-test split process, we categorized the PCBs based on the classes they contain.Figure As shown in figure 7, the most common PCB type consists of two classes only, namely "IC-Connectors" (purple), accounting for 37.7% of the dataset.Following this, PCBs with all three classes, "IC-Capacitor-Connectors" (olive), constitute 28.3% of the dataset size.PCBs containing another two classes, "IC-Capacitor" (dark yellow), represent 24.5% of the dataset size.Finally, PCBs containing 'IC' class only (red) form 9.4% of the dataset size.

26To comprehensively analyze the class imbalance in our dataset corresponding to each PCB category as presented in figure 7, we provide histograms in figure 8.Each histogram illustrates the quantitative distribution of class pixels within every PCB of each category.

27The four histograms presented in figure 8

III. EXPERIMENTS

28This section presents the segmentation experiments for the two ground truths 'General' and 'Monoseg', for both the HSI and the RGB data types using the raw version of the data without deploying any background (conveyor belt) masking technique to provide a benchmark point of PCB-Vision raw data.Five of the most famous segmentation models were used to benchmark the segmentation performance on the dataset.The following methodologies subsection elaborates more on those models.

A. Methodologies

29In this study, we conducted comprehensive experiments to evaluate the performance of various semantic segmentation SOTA models including U-Net [45], DeepLabv3+ [46], and Attention U-Net [47], among others.These models were chosen for their well-established capabilities in addressing semantic segmentation challenges in computer vision.The used models are:

301) Unet: Unet is a widely used convolutional neural network (CNN) architecture for semantic segmentation tasks in computer vision.The network's unique design features a symmetric U-shaped encoder-decoder structure [45].The Unet architecture efficiently captures multi-scale contextual information through skip connections, allowing precise segmentation of objects in images [45].Its effectiveness and versatility have made Unet a popular choice for various segmentation applications.

312) ResUnet: ResUnet is a novel CNN architecture that combines the power of ResNet and Unet for semantic segmentation tasks in computer vision.The ResUnet model leverages residual connections from ResNet to facilitate efficient feature propagation during the encoder-decoder process [48].This fusion enables ResUnet to capture both local and global contextual information, enhancing segmentation accuracy and robustness.

323) Attention Unet: Attention Unet is an innovative CNN architecture designed for precise semantic segmentation tasks in computer vision.The model integrates attention mechanisms within the standard Unet framework.By selectively attending to informative regions, Attention Unet achieves improved segmentation accuracy, particularly in cases where the target objects exhibit diverse appearances or complex structures [47].The network's attention mechanisms enable it to focus on relevant image regions, enhancing its ability to accurately delineate objects of interest, such as organs in medical imaging or objects in natural scenes.

334) DeepLabv3+: DeepLabv3+ is an advanced CNN architecture tailored for accurate semantic segmentation tasks in computer vision.The model employs an encoder-decoder structure with atrous separable convolutions [46].This design enables DeepLabv3+ to effectively capture multi-scale contextual information while preserving fine spatial details.

345) LinkNet: LinkNet is a CNN architecture specifically designed for efficient semantic segmentation.It introduces a novel encoding path, featuring residual-like connections called "link" connections, to preserve spatial information effectively [49].The link connections enable seamless integration of highlevel features from deeper layers with low-level features from shallower layers, facilitating accurate segmentation.

35Through meticulous evaluation, we investigated the numerical results of each model's inference on the test set, enabling a comprehensive comparison of their performance in accurately segmenting our classes of interest.

B. Results: RGB

36This subsection outlines the preprocessing steps applied to the RGB data and provides a numerical evaluation of the aforementioned DL models: [50].By using the existing samples to create new synthetic data variants, data augmentation addresses the challenges of limited data availability and improves the generalization ability of DL models to unseen data [50].Albumentations [51], a powerful image augmentation Python library, was employed to apply various transformations to both RGB images and their corresponding masks.These transformations fall into two categories:

37• Spatial-level transformations (applied to both image and mask simultaneously):

38-Vertical flip -Horizontal flip -40 degrees clockwise rotation -40 degrees anti-clockwise rotation -RGB channel color shifting with a 25-shift limit for the red, green, and blue channels -Transpose -Shift scale rotate The following part contains two types of segmentation experiments, the first is done on the 'General' ground truth set, and the second is done with the 'Monoseg' type of ground truth.The five above-mentioned benchmark segmentation models are used for the semantic segmentation of the RGB PCBs.

39While alternative hyperparameters were explored, the selected set presented in table III empirically demonstrated robust performance across all models, avoiding overfitting issues.A noteworthy observation is that attempting a higher spatial image resolution (1280x1280x3) yielded improved results, despite practical constraints, particularly memory limitations, i.e., lack-of-memory errors that prevented universal application across all five models.Additionally, reducing the batch size below 8 negatively impacted performance, even with higher spatial resolutions.

40Note: different hyperparameters were tested, resulting in varied outcomes for different models, mostly biased and overfitted performance.The chosen parameters strike a balance, showcasing good performance without encountering overfitting concerns for any of the models.a) 'General' segmentation evaluation: cluded that the DeepLabv3+ and Attention UNet models stand out as the effective models among those five models exhibiting strong performance across precision, recall, and F1 Score for all classes, indicating a robust overall segmentation capability.Figure 9 presents the prediction performance of the DeepLabv3+ on some of the test images.

41The quality of the segmentation prediction can be assessed by comparing the predicted masks to the ground truth masks.A good segmentation prediction should have a high overlap with the ground truth mask, and simultaneously be free of noise and artifacts.

42From figure 9 it can be seen that the DeepLabv3+ model performs well on the three classes, with a high overlap between the predicted and ground truth masks.However, there are some cases where the model fails.Here is more expansion on the overall performance of DeepLabv3+:

43• The model performs very well on the 'IC' class, with a high overlap between the predicted and ground truth masks.• The model also performs well on the 'Capacitor' class, but there are some cases where the model misses some of the 'Capacitor' pixels, e.g., the last PCB (bottom right).

44• The model performs worst on the 'Connectors' class, missing some of the Connector pixels, e.g., the third PCB from the left.• The model tends to make more mistakes in images with complex backgrounds.

45Overall, the DeepLabv3+ model is a promising model for PCB segmentation.However, it is important to note that no model is perfect, and there will always be some cases where the model makes mistakes, especially in imbalanced class scenarios our PCB-Vision contains.

46b) 'Monoseg' segmentation evaluation: Table V demonstrates the performance of the five segmentation models on the 'Monoseg' ground truth annotations.

47Based on table V, DeepLabv3+ exhibits strong overall performance, excelling in both precision and recall.This

C. Results: HSI

48In the context of hyperspectral data, several preprocessing steps are undertaken to enhance the quality and relevance of the dataset.These steps are crucial for ensuring that the hyperspectral information is effectively leveraged for subsequent model training.

491) Data normalization: The spectra in the hyperspectral data are normalized using information from the dark acquisition and white reference panel.This normalization process ensures that the spectral values fall within the standardized range of zero to one.2) Data limiting: Post-normalization, some values might still fall outside the expected range due to factors like noise or the presence of materials with higher reflectance than the white reference panel, e.g., shiny metals (heat sink) on the PCB surface.To address this, values exceeding the range are limited to 1.0, while negative values are set to 0.0.3) Train, validation, test split: Given the imbalanced nature of classes in hyperspectral data, a manual split is performed to ensure a balanced representation in the training set.This is particularly important to mitigate the impact of amplified class imbalance in HSI on model training.As stated in the statistics, the dataset is divided into training (56%), validation (5%), and test (39%) sets.Results are split into two main categories depending on the data type.We experimented with two types of data, the first is by reducing the dimensionality of the hyperspectral data cubes using Principal Component Analysis (PCA) utilizing the first three components.The second type of data was patches of the raw hyperspectral cubes.We ran two segmentation experiments on each of these two main types of data, one for the 'General' ground truths and one for the 'Monoseg' ground truths.

501) HSI -PCA: Our motivation behind using PCA came from the two features our hyperspectral cubes have, the spectral and the spatial features, therefore we extracted the spectral features using PCA and the spatial features using the benchmark segmentation models in an attempt to combine the merits of the two methods.The first three principal components were chosen since they cover up to 99% of the variance in the data as can be seen in figure 13.

51To augment the training set, we applied eight spatial-level augmentation techniques, enhancing the diversity of deep learning segmentation models input.These augmentations included clockwise and counterclockwise rotation, vertical and horizontal transition (positive and negative), and vertical and horizontal flipping.This resulted in a total of 126 PCA data samples for training.The hyperparameters that yielded the better results which were used for training the segmentation models on the PCA data are outlined in table VI. a) PCA 'General' segmentation: Table VII shows the numerical evaluation of the five benchmark models on the PCA data with the 'General' segmentation ground truth.From table VII we conclude that as in the RGB cases, Deeplabv3+ exhibits strong performance across precision, recall, and F1 score for all classes, indicating a robust overall segmentation 2) HSI -Patches : In this part, patches of raw data were fed to the DL models, in an attempt to construct an end-to-end model capable of discerning both spectral and spatial features promising to the segmentation of the four classes.Ideally, the utilization of the entire hyperspectral (HS) cube would have been preferred; however, due to the large size of the HS cube, memory limitations were encountered.To address this challenge, mitigating measures involved the reduction of spatial dimensions while preserving spectral characteristics.Consequently, the largest feasible patch size, specifically 128 by 128, was adopted, incorporating 214 spectral bands of the HS cube where the first ten bands were discarded due to the highly contained noise.It is noteworthy that while larger patch sizes could be accommodated by diminishing the batch size, such adjustments yielded suboptimal performance in our experiments.Specifically, experiments conducted with a batch size of 4 or below resulted in diminished model performance.The hyperparameters employed for this patch-based approach are outlined in table IX.

52A comparative analysis of the hyperparameters utilized in the training scenarios for RGB and HSI PCA, as presented in tables III and VI, along with table IX reveals a notable distinction in the learning rate.Specifically, in the HSI patch training scenario, the learning rate is set at a lower value of 1e-5.This adjustment is not only empirically substantiated by observed results but is also theoretically justified due to the substantial increase in the number of training samples.The dataset size has significantly expanded from around a hundred Figure 14 shows the segmentation prediction performance of U-Net on some test HSI patches of the three classes.

53Unet performs well on the three classes, with a high overlap between the predicted and ground truth masks.However, there are some cases in which the model makes mistakes.Furthermore:

54• The fact that the model can achieve good segmentation performance on hyperspectral data which are much more information-rich and complex than RGB images is significant.This suggests that Unet has the potential to be used for a wide range of PCB HSI segmentation tasks.

IV. DISCUSSION

55In this section, we highlight the challenges that come along with performing segmentation on RGB and multiscene HS data cube.

A. RGB Segmentation

56The segmentation performance across the RGB data reveals opportunities for further improvement.To enhance performance, increasing the dataset size beyond the current 53 (400 after augmentation) scenes is recommended as it is always the case in improving model generalization by providing more data, nevertheless, PCB-vision will be regularly updated with more scenes.Additionally, exploring more sophisticated deep learning models, leveraging pre-trained models, large vision models (LVMs) could contribute to improved segmentation results.The current benchmark models serve as a baseline, and further experimentation with larger datasets and advanced models is warranted.

B. HSI Segmentation

57Segmenting multiscene hyperspectral data poses unique challenges due to the abundant information in hyperspectral cubes and lower spatial resolution compared to RGB images.Achieving high-performance segmentation requires models capable of extracting both spectral and spatial features efficiently.Several insights emerge from the HSI segmentation experiments:

58• Incompatibility of RGB models on HSI data: Directly applying RGB segmentation benchmark models to HSI data yields suboptimal results.The substantial increase in the number of channels (214 in HS compared to 3 in RGB) introduces more parameters in the input layers, implying more parameters to be optimized with the same PCB scenes, leading to harder challenges in achieving higher generalizing performance.an alternative, but the method of applying PCA worths consideration.

59• PCA implementation challenges: Solving the patching problem that solves the lack of memory problem can be done by reducing the dimension of the HS data using a dimensionality reduction technique like PCA.The principal components that dimensionality reduction techniques produce can capture more than 90% of the variance in the data in only the first few components, making them suitable for the task.Usually, methods like PCA are implemented on the data cube first, then the result is given to train the classification model.This sequence utilizes the idea of extracting the spectral features using a dimensionality model first, then extracting the spatial features using a segmentation model second, combining the best of both models towards better segmentation performance.However, note that in the provided data (our application) we have multiple data cubes in the training set, validation set, and testing set.Therefore, two questions arise:

601) Should PCA be implemented from scratch on each HS cube in all training and testing sets, and the principal components will be then the segmentation model input?

612) Should all the training cubes be used to train one PCA, and then use that trained PCA to transform the dataset?Implementing PCA on each hyperspectral cube independently introduces higher variance in results due to diverse compositions in different cubes.Thus posing a harder generalization challenge on the segmentation models.Alternatively, training a single PCA on all cubes increases homogeneity but demands a PCA method compatible with large multiscene hyperspectral dataset.

62• Impact of undesired background: Another point we would like again to highlight is the negative effect undesired background brings to the processing pipeline.Having an undesired background in the HSI skews the calculation across the processing pipeline:

63-Dimensionality reduction impact: The presence of undesired pixels in hyperspectral data significantly influences principal component calculations, particularly when their quantity surpasses that of the desired pixels (i.e., classes of interest).This circumstance results in suboptimal principal components, leading to an imperfect representation of the target classes [44].-Segmentation challenges: Undesired background pixels introduce complexities during segmentation.The model encounters increased intricacy, particularly when undesired pixels exhibit noise or share similar spectra with one of the classes of interest (e.g., conveyor belt pixels having spectra akin to 'IC' pixels due to both being black polymers), the model experiences confusion in capsulizing the 'IC' class, potentially leading to suboptimal convergence [44].To address these challenges, a comprehensive solution involving the application of background masking throughout the entire processing pipeline is yet to be implemented.By effectively masking out the undesired background pixels, the adverse effects on dimensionality reduction techniques and segmentation DL models can be mitigated, promoting more accurate and robust results.

V. FUTURE CHALLENGES

64The above discussion highlighted empirical challenges that demand attention for achieving higher generalized performance in multiscene hyperspectral data analysis.Starting with data masking throughout the dataset, using the provided PCB masks in order to mitigate the effects of the undesired backgrounds.Furthermore, subsequent efforts involve the development of a multi-data type processing pipeline that seamlessly integrates RGB images with their hyperspectral pairs to overcome challenges unique to each data type.Additionally, we plan to continuously expand our PCB-Vision dataset by incorporating additional PCB scenes from diverse PCB sources and scanning sensors.This will help to better capture the variability in PCBs and improve the generalization ability of the models to unseen data.

65The primary focus revolves around the refinement of segmentation models, with an emphasis on enhancing generalization performance within the processing pipeline to ensure optimal fast performance on unseen HS data.In this pursuit, additional research initiatives aim to provide pre-trained backbones tailored for segmentation and super-resolution models, expanding the scope of this work towards comprehensive advancements in hyperspectral data analysis.

VI. CONCLUSION

66In this work, we present a significant leap forward in PCB analysis along the generalized hyperspectral data processing concerning optimized E-waste recycling aligned towards a circular economy.We provide 'PCB-Vision', a pioneering RGB-HSI benchmark dataset of 53 different printed circuit boards (PCB), offering essential insights into E-waste composition, and setting the data basis for solution developments in sustainable product design and their recycling strategies.Alongside the acquisition setup clarification and data description, we conducted an intensive statistical analysis of PCB-Vision.Moreover, we performed comprehensive experimentation with five SOTA segmentation models on both data types in PCB-Vision and highlighted the challenges and complexities inherent in classifying unseen hyperspectral data which is one of the main motivations for presenting the PCB-Vision benchmark dataset.The reported results not only contribute valuable insights into the performance of benchmark models but also emphasize the need for models with robust generalization capabilities.By addressing the detection of PCB elements towards object-based recycling, PCB-Vision supports the United Nations (UN) "Climate Action" SDG 13 and promotes innovation in electronic waste management, contributing to sustainable industrial practices outlined in SDG 9 "Industry, Innovation And Infrastructure".As we look ahead, the outlined future challenges and proposed approaches aim to encourage further advancements in hyperspectral imaging and PCB analysis, fostering continued progress in this critical domain with the aim of optimized recycling.To democratize scientific knowledge and promote inclusive innovation, we will openly release the benchmark dataset, ground truths, and accompanying baseline codes at https://github.com/hifexplo/PCBVision, enabling researchers from diverse fields to explore and contribute to the development of advanced E-waste recycling methodologies.This fosters resource collaboration and an open-access environment that aligns with the principles of the Green Deal.This paper, therefore, represents a crucial step for achieving interconnected SDGs, fostering responsible consumption, reducing environmental impact, and advancing industrial sustainability.

Fig. 1 :

67Fig. 1: PCB-Vision setup to results: (a) RGB images and HS data cubes are acquired, (b) data normalization and preprocessing, (c) data preparation for ML model pipeline, (d) segmentation results

68multimodal (HSI and RGB) dataset consisting of 53 high spectral resolution hyperspectral data cubes along with their 53 high spatial resolution RGB images of 53 different PCBs scanned in industrial-like scenarios, coupled with two different segmentation annotations.In summary, PCB-Vision consists of: 1) 53 hyperspectral cubes of 53 different PCBs scanned in the visible and near-infrared range with 224 bands.2) 53 RGB images of the 53 PCBs.3) 'General' pixel-wise classification ground truth of three classes of interest ('IC', 'Capacitor', 'Connectors') for both RGB and HS data cubes.4) 'Monoseg' pixel-wise classification ground truth of three classes of interest ('IC', 'Capacitor', 'Connectors') for both RGB and HS data cubes.5) 53 background/foreground masks for separating the PCB from the image background.

Fig. 3 :

69Fig. 3: Four spectra from PCB 1 HSI were captured from randomly selected points on the surface of our classes of interest, along with the spectra from the conveyor belt background.'Conveyor belt' (orange), 'IC' (red), 'Capacitor' (green), and 'Connectors' (blue).

70Fig. 4: 'General' and 'Monoseg' segmentation ground truth projected on PCB1 RGB image.'IC' (red), 'Capacitor' (green), 'Connectors' (blue).

71Fig. 5: 'General' VS 'Monoseg' segmentation ground truth of PCB 1 RGB image.'IC' (red), 'Capacitor' (green), 'Connectors' (blue).

Fig. 6 :

72Fig. 6: Dataset classes percentages

Fig. 7 :

73Fig. 7: PCBs type based on the contained classes

Fig. 8 :

74Fig. 8: Class distribution for each PCB in each PCB class category.

Figures 10 ,Fig. 9 :

75Fig. 9: Visual comparison of DeepLabv3+ predictions and ground truths on eight PCBs from the test set.

Fig. 10 :

76Fig. 10: HSI training set.

Fig. 11 :

77Fig. 11: HSI validation set.

Fig. 12 :

78Fig. 12: HSI testing set.

Fig. 13 :

79Fig. 13: PCA explained variance

Fig. 14 :

80Fig. 14: Visual comparison of Unet predictions and ground truths on several HSI test patches.

TABLE I :

81A systematic review of publicly available PCB datasets

TABLE II :

82Acquisition cameras parameters

TABLE III :

83RGB images training hyperparameters

84Table IV demonstrates the performance of the five models on the 'General' ground truths annotations.Based on table IV it can be con-

TABLE IV :

85Models' evaluation metrics on the RGB test set 'General' ground truth.

TABLE V :

86Models' evaluation metrics on the RGB test set 'Monoseg' ground truth.

TABLE VI :

87PCA data training hyperparameters

TABLE VII :

88Models' evaluation metrics on the HSI PCA test set 'General' ground truth.

89Table VIII demonstrates that Attention U-Net and DeepLabv3+ exhibited comparable performances across multiple classes, except for the 'Connectors' class, where DeepLabv3+ achieved superior performance.

TABLE VIII :

90Models' evaluation metrics on the HSI PCA test set 'Monoseg' ground truth.

TABLE IX :

91Patches training hyperparameters

TABLE X :

92Models' evaluation metrics on the HSI patches test set 'General' ground truth.HSI Patches General Segmentation: Table X demonstrates the results of training three DL models on the 'General' ground truth.Three benchmark models were used instead of five due to incompatibilities between the hyperspectral data patches and DeepLabv3+ and LinkNet models' architecture.From table X it can be concluded that among the models, ResUnet and Unet demonstrate similar performance across multiple classes, with ResUnet having an edge in capturing only 'IC' whereas Unet was outperforming regarding the 'Capacitor' and 'Connctors' classes.

TABLE XI :

93Models' evaluation metrics on the HSI patches test set 'Monoseg' ground truth.

참고문헌 48건

  1. Text recognition for information retrieval in images of printed circuit boards IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society · 2014 10.1109/iecon.2014.7049016
  2. A dataset for computer-vision-based PCB analysis 2015 10.1109/mva.2015.7153209
  3. Laser-induced breakdown spectroscopy (LIBS) combined with hyperspectral imaging for the evaluation of printed circuit board composition Talanta · Elsevier BV · 2014 10.1016/j.talanta.2014.11.019
  4. SMD segmentation for automated PCB recycling 2013 10.1109/indin.2013.6622859
  5. Towards a national circular economy indicator system in China: an evaluation and critical analysis Journal of Cleaner Production · Elsevier BV · 2011 10.1016/j.jclepro.2011.07.005
  6. Hyperspectral Imaging in the Medical Field: Present and Future Applied Spectroscopy Reviews · Taylor & Francis · 2013 10.1080/05704928.2013.838678
  7. Recycling-oriented characterization of plastic frames and printed circuit boards from mobile phones by electronic and chemical imaging Waste Management · Elsevier BV · 2014 10.1016/j.wasman.2014.06.003
  8. Recycling of non-metallic fractions from waste printed circuit boards: A review Journal of Hazardous Materials · Elsevier BV · 2009 10.1016/j.jhazmat.2009.02.104
  9. Sparsity and Structure in Hyperspectral Imaging : Sensing, Reconstruction, and Target Detection IEEE Signal Processing Magazine · Institute of Electrical and Electronics Engineers · 2013 10.1109/msp.2013.2279507
  10. Segmentation and classification of THCs on PCBAs 2013 10.1109/indin.2013.6622858
  11. Recycling of WEEEs: An economic assessment of present and future e-waste streams Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.06.010
  12. A survey and evaluation of promising approaches for automatic image-based defect detection of bridge structures Structure and Infrastructure Engineering · Taylor & Francis · 2008 10.1080/15732470801945930
  13. Hardware-based image processing for high-speed inspection of grains Computers and Electronics in Agriculture · Elsevier BV · 2009 10.1016/j.compag.2009.06.007
  14. Application of Hyperspectral Imaging in Food Safety Inspection and Control: A Review Critical Reviews in Food Science and Nutrition · Taylor & Francis · 2012 10.1080/10408398.2011.651542
  15. Rethinking the Inception Architecture for Computer Vision 2016 10.1109/cvpr.2016.308
  16. Towards circular economy implementation: a comprehensive review in context of manufacturing industry Journal of Cleaner Production · Elsevier BV · 2015 10.1016/j.jclepro.2015.12.042
  17. Remanufacturing strategies: A solution for WEEE problem Journal of Cleaner Production · Elsevier BV · 2017 10.1016/j.jclepro.2017.02.004
  18. LinkNet: Exploiting encoder representations for efficient semantic segmentation 2017 10.1109/vcip.2017.8305148
  19. Road Extraction by Deep Residual U-Net IEEE Geoscience and Remote Sensing Letters · Institute of Electrical and Electronics Engineers · 2018 10.1109/lgrs.2018.2802944
  20. The Effectiveness of Data Augmentation in Image Classification using Deep Learning arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1712.04621
  21. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1802.02611
  22. Attention U-Net: Learning Where to Look for the Pancreas arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1804.03999
  23. Albumentations: Fast and Flexible Image Augmentations Information · Multidisciplinary Digital Publishing Institute · 2020 10.3390/info11020125
  24. A PCB Dataset for Defects Detection and Classification arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1901.08204
  25. Online PCB Defect Detector On A New PCB Defect Dataset arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1902.06197
  26. HybridSN: Exploring 3-D–2-D CNN Feature Hierarchy for Hyperspectral Image Classification IEEE Geoscience and Remote Sensing Letters · Institute of Electrical and Electronics Engineers · 2019 10.1109/lgrs.2019.2918719
  27. TDD‐net: a tiny defect detection network for printed circuit boards CAAI Transactions on Intelligence Technology · Institution of Engineering and Technology · 2019 10.1049/trit.2019.0019
  28. A survey on Image Data Augmentation for Deep Learning Journal Of Big Data · Springer Science+Business Media · 2019 10.1186/s40537-019-0197-0
  29. You Only Look Once: Unified, Real-Time Object Detection 2016 10.1109/cvpr.2016.91
  30. Recycling Waste Circuit Board Efficiently and Environmentally Friendly through Small-Molecule Assisted Dissolution Scientific Reports · Nature Portfolio · 2019 10.1038/s41598-019-54045-w
  31. FICS-PCB: A Multi-Modal Image Dataset for Automated Printed Circuit Board Visual Inspection. IACR Cryptology ePrint Archive · Cryptology ePrint Archive · 2020
  32. Object Detection Routine for Material Streams Combining RGB and Hyperspectral Reflectance Data Based on Guided Object Localization IEEE Sensors Journal · IEEE Sensors Council · 2020 10.1109/jsen.2020.2996757
  33. The Global E-waste Monitor 2020: Quantities, flows and the circular economy potential 2020
  34. Defect Detection in Printed Circuit Boards Using You-Only-Look-Once Convolutional Neural Networks Electronics · Multidisciplinary Digital Publishing Institute · 2020 10.3390/electronics9091547
  35. Albumentations: Fast and Flexible Image Augmentations Information · Multidisciplinary Digital Publishing Institute · 2020 10.3390/info11020125
  36. LinkNet: Exploiting encoder representations for efficient semantic segmentation 2017 10.1109/vcip.2017.8305148
  37. Multi-scale, multi-sensor data integration for automated 3-D geological mapping Ore Geology Reviews · Elsevier BV · 2021 10.1016/j.oregeorev.2021.104252
  38. A review on deep learning in machining and tool monitoring: methods, opportunities, and challenges The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2021 10.1007/s00170-021-07325-7
  39. Printed Circuit Board Defect Detection Using Deep Learning via A Skip-Connected Convolutional Autoencoder Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21154968
  40. Use of Hyperspectral Imaging for the Quantification of Organic Contaminants on Copper Surfaces for Electronic Applications Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21165595
  41. Combined Use of 3D and HSI for the Classification of Printed Circuit Board Components Applied Sciences · Multidisciplinary Digital Publishing Institute · 2021 10.3390/app11188424
  42. Experimental Stand for Sorting Components Dismantled from Printed Circuit Boards Minerals · Multidisciplinary Digital Publishing Institute · 2021 10.3390/min11111292
  43. Landslide4Sense: Reference Benchmark Data and Deep Learning Models for Landslide Detection IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2022 10.1109/tgrs.2022.3215209
  44. Printed Circuit Board Defect Detection Methods Based on Image Processing, Machine Learning and Deep Learning: A Survey IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3245093
  45. Small Sample Hyperspectral Image Classification Based on the Random Patches Network and Recursive Filtering Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23052499
  46. Hyperspectral Domain Adaptation for the Detection of Material Types in Recycling Streams at the Example of Electrolyzers 2023 10.1109/igarss52108.2023.10282872
  47. Cross-city matters: A multimodal remote sensing benchmark dataset for cross-city semantic segmentation using high-resolution domain adaptation networks Remote Sensing of Environment · Elsevier BV · 2023 10.1016/j.rse.2023.113856
  48. Masking Hyperspectral Imaging Data with Pretrained Models 2023 10.1109/whispers61460.2023.10431074