RGB and Thermal Camera Fusion in Conveyor-Based Sorting
Spatial-temporal matching of unsynchronized RGB and LWIR cameras in conveyor sorting, sensor fusion, and field validation.
When only color images are used on conveyor sorting lines, classes such as transparent glass and plastic, or white paper and light-colored plastic may resemble each other. On the other hand, a long-wave infrared (LWIR) camera detects the emitted thermal radiation of the object rather than its visible color. The RGB camera provides surface texture and geometry, while the thermal camera provides temperature-emissivity behavior. When these two data streams are matched at the right time and the right position, material classification can be enhanced; however, unsynchronized cameras, calibration interruptions of the thermal sensor, and belt movement create serious engineering problems.
1. Why are RGB and LWIR complementary?
The idealized thermal power emitted from a surface, according to the Stefan-Boltzmann relation:
\[ P=\varepsilon\sigma A T^4 \]is expressed in this way. Here ε emissivity, σ The Stefan-Boltzmann constant, A its field and T It represents absolute temperature. In actual camera measurement, reflection, ambient temperature, surface angle, and the atmosphere also have an effect. The temperature curve of the material after active heating depends on thermal conductivity, density, specific heat, thickness, and surface condition. Therefore, a thermal image alone is not a 'material identity'; it is a complementary signal that can be used together with RGB.
2. Spatial mapping in unsynchronized video
Cameras have different angles, resolutions, and fields of view. If the band surface is approximately planar, the RGB coordinates can be transferred to the thermal image with a homography:
\[ s\begin{bmatrix}x'\\y'\\1\end{bmatrix}=H\begin{bmatrix}x\\y\\1\end{bmatrix} \]H, it is predicted from matching feature points using outlier-resistant methods such as RANSAC. The source study used SuperPoint-SuperGlue matching. Homography does not completely eliminate lens distortion, parallax from different object heights, or camera shake. Therefore, not only the error in the calibration square but also the residual shift in independent control points and real object masks should be measured.
3. Temporal alignment and NUC interruptions
Even if both cameras are nominally 30 FPS, frame numbers drift over time due to independent clocks. Thermal cameras can also produce a few seconds of temporary image distortion during non-uniformity correction (NUC). The source system uses an adaptive window that looks for thermal frames around an RGB frame; if a sufficient match is not found, it expands the window. The matching problem:
\[ j^*=\arg\min_{j\in[i-L,i+L]} E(I^{RGB}_i,I^{LWIR}_j) \]can be considered. Here E matching error, L Shows the half-width of the search. Data should not be forcibly matched for confidence values below the threshold; it should be marked as missing or invalid.
4. Object traces and late fusion
Objects in the source stream are segmented in the RGB image with Mask R-CNN, tracked with OC-SORT, and the RGB masks are transferred to LWIR frames via homography. Each object instead of a single frame, a tracklet, that is, it has been classified as a sequence of images tracked over time. The DINOv2 features extracted from eight frames were average pooled, and the RGB and LWIR vectors were combined in late fusion:
\[ z_m=\frac{1}{N_m}\sum_{t=1}^{N_m}f_m(x_t),\qquad z=[z_{RGB};z_{LWIR}] \]Late fusion extracts the features of each modality separately instead of forcing the raw pixels of two modalities into the same representation. When a sensor produces an invalid frame, mask-sensitive pooling can be applied. Nevertheless, transferring the thermal mask from the RGB still propagates the misalignment error to the classification.
5. How should success results be read?
| Evaluation | RGB | LWIR | Fusion |
|---|---|---|---|
| Video separate 10 times CV, macro F1 | 0,886 | 0,856 | 0,924 |
| Mixed-class final test, macro F1 | 0,881 | 0,800 | 0,947 |
| Final test error count | 42 | 64 | 18 |
Macro F1 gives equal weight to the F1 value of each class:
\[ F1_{macro}=\frac{1}{C}\sum_{c=1}^{C}\frac{2P_cR_c}{P_c+R_c} \]Video-segment separation is important; if traces from the same recording are present in both training and testing, background and heating conditions can be memorized. In the study, 19 experiments and 550 traces were used in cross-validation, while three experiments and 351 traces including all four classes were used only in the final test.
6. The difference between the pilot line and the industrial line
In the source setup, a 160 × 40 cm belt operated at only 1.8 cm/s, and a 2500 W heater was placed 60 cm above the belt. The median trace time of the object is approximately 81 seconds, and the classification after the trace is completed is 385 ms. This speed is much lower than that of industrial material recovery facilities. When the speed increases, heating time, motion blur, displacement per frame, spray timing, and computational delay must be redesigned.
7. Field commissioning checklist
- Connect the RGB and LWIR cameras to a vibration-free common carrier.
- Verify the homography with the geometric control target in each shift.
- Record camera clock drift and NUC events.
- Manage heating energy within the limits of fire and product safety.
- Add different colors, thicknesses, moisture, dirt, and surface conditions to the dataset.
- Prevent data leakage by separating physical objects on a record basis.
- Evaluate classification confidence along with the distance remaining to the discriminator and the PLC delay.
- Define a safe escape or manual control line for uncertain objects.
8. Limitations of the source study
The study was conducted under controlled laboratory conditions, with four material classes and active heating. The belt speed does not represent an industrial level. The paper-plastic pair is the main source of error due to similar thermal and geometric behavior. Homography cannot fully correct parallax in three-dimensional objects; transferring the RGB mask to the thermal image produces errors. Without additional facilities, object samples, contamination levels, and high-speed line testing, the results cannot be directly considered a guarantee for production.
Result
RGB-thermal fusion can provide valuable additional information for separating materials that appear similar in the visible spectrum. Success depends not only on model selection but also on spatial calibration, temporal alignment, NUC management, object tracking, and video-discrete validation. Preliminary results are promising, but in industrial design, high bandwidth, short decision window, thermal safety, and discriminator latency must be validated together.
Technical basis: B. Akdemir and S. Esen Yuksel, Software-Only Registration and Cross-Spectral Classification of Unsynchronized RGB–LWIR Video: A Multisensor Benchmark for Conveyor-Based Waste Sorting, Sensors 2026, 26, 5017, DOI: 10.3390/s26165017. The numerical results here belong to the source pilot setup and are not presented as a guarantee of product performance.
