Skip to Content
SolarSolar
  • Article
  • Open Access

12 August 2026

34 Pages

A Lightweight Support-Vector-Machine-Based Infrared Image Processing Workflow for Photovoltaic Module Thermal Anomaly Screening

,
,
,
,
,
and
1
Department of Electric Power Engineering, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Mäsiarska 74, 040 01 Kosice, Slovakia
2
Independent Researcher, 040 23 Kosice, Slovakia
3
Power Systems Department, Kandó Kálmán Faculty of Electrical Engineering, Óbuda University, 1034 Budapest, Hungary
4
Crnogorski Elektroprenosni Sistem AD Podgorica, Bulevar Svetog Petra Cetinjskog 18, 81000 Podgorica, Montenegro

Abstract

Deep networks dominate photovoltaic (PV) thermographic fault detection but need large annotated datasets and resist interpretation. We present a lightweight, interpretable infrared workflow combining support-vector-machine (SVM) module/background segmentation from four handcrafted features with an adaptive grid analysis labelling regions as nominal-intensity, high-intensity anomaly or low-intensity anomaly relative to a module-internal reference; the anomaly classes are inspection candidates, not confirmed faults. Evaluation used 21 close-range images of one 20 W module—recorded with the camera’s visible-light edge fusion active, so they are fused infrared/visible frames—and all 596 of a public five-sector UAV dataset. Segmentation against manual masks reached a mean intersection-over-union of 0.64; a feature ablation shows intensity statistics dominate, and an end-to-end Otsu pipeline gives almost the same high-intensity share (4.54% versus 4.50%): the SVM contributes reproducibility—removing the manual segmentation threshold, though not the empirical +48/−60 offsets—not accuracy. High-intensity regions concentrated in the module’s lower half, co-locating with a bus-bar defect known from hardware inspection—suggestive, not validated. The single-module, image-level close-range evaluation is optimistic, and the UAV shares, from a separately trained SVM, illustrate cross-domain application only. Segmentation runs at about 15 images per second on CPU. The method is a relative-intensity thermal screening workflow, not a validated defect-diagnosis or plant-health assessment method, and applies only where acquisition is controlled and the offsets are recalibrated for the target camera and palette.

1. Introduction

The growing share of photovoltaic (PV) and other renewable sources in distribution grids and microgrids has driven research on their protection, monitoring, forecasting and efficient operation. The reliability of these systems depends on the health of the individual PV modules, which are exposed to electrical, thermal, mechanical and environmental stress during outdoor operation. Common fault sources include partial shading, soiling, cell mismatch, microcracks, soldering defects, bypass diode faults and disconnected substrings. These defects can produce abnormal thermal patterns, reduce energy yield and accelerate module degradation.
Hot-spots are among the most relevant thermal anomalies in PV modules. A hot-spot is a localized overheating region caused by reverse biasing or non-uniform operating conditions in a cell or a group of cells. External causes include shading, dust and local surface contamination. Internal causes include microcracks, defective soldering, material defects and bypass diode failures. Moretón et al. [1] showed that hot-spots affect module lifetime and operating efficiency and proposed practical acceptance/rejection criteria based on temperature difference and operating-voltage deviation. Automated detection of high-intensity regions supports operation and maintenance and the broader protection, monitoring and forecasting of renewable-rich distribution grids and microgrids [2,3,4,5].
Infrared thermography (IRT) records thermal patterns during normal module operation without electrical disconnection or physical contact, which makes it suitable for PV diagnostics. Thermal images can reveal localized overheating, inactive substrings, bypass diode failures, shading effects and other anomalies. Buerhop et al. [6] identified IR imaging as a frequently used method for detecting underperforming PV modules and, for large PV power stations, emphasized two aspects—whether acquisition strategies are highly efficient (on the order of one module per second) and whether the detected thermal anomalies are practically relevant—which they translate into development needs spanning image acquisition, image processing and image assessment. Their review also points to a lack of sufficient public IR datasets suitable for adapting computer-vision tools to PV inspection tasks.
Utility-scale PV plants require inspection methods with high spatial coverage and short acquisition time. UAV-based aerial infrared thermography (aIRT) addresses this requirement by combining thermal cameras with automated or semi-automated flight campaigns. de Oliveira et al. [7] reviewed automated aIRT inspection of PV plants and grouped the framework into tasks such as flight path planning, detection of PV systems and modules, orthomosaicking, soiling detection, and fault detection and classification. The reviewed methods achieved high scores for selected tasks, including PV module detection and segmentation, but robustness, generalization and multi-class fault classification remain open problems for large-scale inspection.
Automated analysis of PV thermal images is commonly addressed by classical image processing, shallow machine learning and deep learning. Classical methods use thresholding, edge detection, texture descriptors, statistical intensity features or handcrafted feature vectors. Shallow machine-learning methods often use support vector machines (SVM), random forests or related classifiers. Ali et al. [8] proposed an SVM-based framework using hybrid RGB, texture, HOG and LBP features for classifying PV thermographic images into healthy, non-faulty hotspot and faulty classes. Chen et al. [9] used cell-level mean and standard deviation features with SVM for hot-spot detection in thermographic images of solar panels. Ahmed et al. [10] used an 8 × 8 grid, SURF features, visual vocabulary construction and shallow classifiers for PV health monitoring. These works show that interpretable feature-based methods remain useful when the dataset is limited or when low computational complexity is required.
Deep-learning methods have achieved high performance in PV thermal-image analysis. CNN, ResNet, U-Net, DeepLabV3+, FPN, Mask R-CNN and multimodal IR/RGB systems have been used for module detection, fault detection, segmentation and classification. Bommes et al. [11] extracted PV modules from aerial IR videos and trained a ResNet-50 classifier on a large dataset containing millions of module images. Boubaker et al. [12] compared machine-learning and deep-learning models for PV fault diagnosis using infrared thermography and reported superior performance for deep-learning approaches. Kuo et al. [13] combined UAV-based IR and RGB imaging for automatic detection, classification and localization of defects in large PV plants. These systems provide high diagnostic performance, but they depend on larger annotated datasets, more complex training procedures and higher implementation effort.
PV module segmentation is a separate task from fault classification. Fault analysis performed on the full image can be affected by background objects, mounting structures, shadows, power-line reflections and non-module regions. Vega Díaz et al. [14] studied PV panel detection in UAV thermal images with complex backgrounds and compared a classical method using preprocessing, edge detection and SVM classification with a deep-learning method. Their results show that module detection can be solved effectively by both classical and deep-learning approaches, but the segmentation step remains a prerequisite for reliable module-level fault interpretation.
The literature separates the problem into several tasks: SVM-based hotspot classification, cell-level statistical analysis, grid-based feature extraction, UAV module detection, statistical thermal screening and deep-learning segmentation. Few works combine module/background segmentation with adaptive local thermal-region analysis in one lightweight and interpretable workflow. Evaluation across both close-range IR images and UAV IR images is also limited. This gap is relevant for practical inspection scenarios where annotated data are scarce, model transparency is required or a preliminary screening tool is needed before deploying large deep-learning systems. The need is not restricted to conventional silicon plants: PV-integrated applications such as semitransparent perovskite modules used as greenhouse rooftops for agrivoltaics [15] place cells in optically and thermally atypical settings for which large annotated IR datasets do not exist, so a low-data screening workflow is the more practical starting point there.
This paper proposes a lightweight and interpretable infrared-image processing workflow for PV module thermal anomaly screening. The workflow combines image preprocessing, SVM-based segmentation of PV module regions from the background and adaptive grid-based pixel-intensity analysis. The segmented module area is divided into local regions. Each valid region is classified as nominal-intensity, high-intensity anomaly or low-intensity anomaly relative to a module-internal reference. In much of the PV-fault literature the two anomaly classes would be called hotspot and shaded/soiled; the more cautious intensity-based names are used here because the method measures relative thermal-image brightness, not confirmed physical faults. The method is evaluated on two data domains: controlled close-range IR images and UAV-based IR images of PV modules. The aim is not to maximize segmentation accuracy—a feature-based SVM and simple thresholding perform comparably on module/background separation, as shown in Section 4—but to provide a transparent, low-data pipeline whose every decision is an explicit rule, so that the resulting local class map can be inspected and audited. The contribution is the integration of manual-threshold-free segmentation—manual-threshold-free in the segmentation stage, since the local classification retains the two empirical intensity offsets—with an adaptive, reference-based local three-class interpretation that remains stable across two acquisition domains with very different absolute intensity.
The intensity-based class names are used deliberately. The proposed method operates on grayscale thermal-image intensity, not on calibrated temperature difference. A high-intensity anomaly marks a region with locally elevated thermal-image brightness that is a candidate for closer inspection, not a confirmed hot-spot; a low-intensity anomaly marks a locally colder or darker region rather than confirmed shading or soiling. Physical confirmation of any of these regions requires calibrated thermography, electrical measurements, electroluminescence imaging or repeated inspection under controlled operating conditions.
The scope of this work is restricted to generic relative-intensity anomaly screening. The workflow flags where a thermal image deviates from its own module-internal reference; it does not identify or diagnose the underlying fault type. Distinct faults such as a localized cell hot-spot, a bypass-diode failure, a disconnected substring, shading and soiling produce different spatial thermal signatures, and separating them would require a multi-fault labelled dataset with representative examples of each defect, together with calibrated thermography and electrical or electroluminescence confirmation. Such data were not available for this study, which uses one controlled module with artificial occlusion and a documented bus-bar defect together with a public UAV set; fault identification is outside the present scope and is stated as future work.
The main contributions of this paper are:
  • a lightweight, fully interpretable IR-image processing workflow for PV module thermal anomaly screening, whose segmentation stage runs on a standard CPU at about 15 images per second;
  • a manual-threshold-free, feature-based SVM segmentation stage that separates PV module regions from the background without a manually tuned or per-image intensity threshold (a domain-specific model is trained for each dataset); the term refers to the segmentation stage only—the downstream anomaly classification still uses the empirical +48/−60 offsets;
  • an adaptive grid-based pixel-intensity analysis that references each local region to a module-internal mean, with a quantified threshold sensitivity;
  • a transparent three-class local interpretation of PV module regions as nominal-intensity, high-intensity anomaly or low-intensity anomaly, produced by explicit intensity rules;
  • evaluation on both a controlled close-range IR dataset and a public UAV dataset of 596 images spanning five sectors, including pixel-level segmentation metrics for the close-range domain and an end-to-end comparison of the complete screening pipeline against a threshold baseline.

2. Related Work

2.1. Infrared Thermography and Aerial Inspection of PV Plants

Infrared thermography (IRT) is a non-contact diagnostic method for operating PV modules. It detects abnormal thermal patterns caused by electrical mismatch, partial shading, soiling, disconnected substrings, bypass diode faults, microcracks and local cell damage, without module disconnection and under normal operating conditions.
Buerhop et al. [6] reviewed IR imaging for PV modules with emphasis on high-throughput inspection of large PV power stations. The review frames its analysis around two questions—the efficiency of the measurement strategy and the practical relevance of the detected anomalies—and identifies image acquisition, image processing and image assessment as the corresponding development needs for automated diagnostics. The authors report that airborne image acquisition can exceed one module per second, but increased inspection speed can reduce spatial resolution. The review also points to a lack of sufficient public IR datasets for adapting computer-vision tools to PV inspection tasks.
Thermal anomalies must be interpreted with respect to their operational relevance. Moretón et al. [1] examined 200 PV modules affected by hot-spots using visual inspection, IR thermography, electroluminescence, peak-power measurements and operating-voltage tests. The study proposed rejection criteria based on temperature difference and operating-voltage deviation. Hot-spots with temperature gradients above 20 °C were treated as rejection cases; gradients above 10 °C were critical when combined with voltage losses exceeding warranty-related limits. This work supports the physical relevance of local thermal anomaly detection.
Aerial infrared thermography (aIRT) is used for utility-scale PV plants. UAV-based acquisition reduces inspection time and increases spatial coverage. de Oliveira et al. [7] reviewed automatic inspection of PV power plants using aIRT. The reviewed tasks include flight path planning, detection of PV systems and modules, orthomosaicking, soiling detection, and fault detection and classification. Reported methods for PV module detection and segmentation reached maximum F1-scores close to 98.4%. The review identifies robustness, generalization and multi-class fault classification as unresolved problems for large-scale PV plant inspection. Tanda and Migliazzi [16] compared UAV and aircraft platforms for infrared monitoring of PV systems and quantified the trade-off between spatial coverage and thermal resolution that constrains aerial acquisition. Aghaei et al. [17] reviewed autonomous and intelligent monitoring of PV systems and argued that automated UAV inspection is limited less by acquisition hardware than by the data and annotation requirements of the downstream analysis. Field campaigns confirm the practical value of aIRT: de Oliveira et al. [18] inspected four utility-scale Brazilian plants, where disconnected cell substrings were the most frequent detected fault, disconnected strings caused the largest energy impact and soiling-induced hot spots were widespread, while Henry et al. [19] combined a drone-mounted thermal camera with automated flight-path planning and GPS geolocation to map deteriorated modules in a 1 MW plant.

2.2. Classical Image Processing and Shallow Machine Learning

Classical methods use thresholding, edge detection, texture descriptors, color-space transformations, local intensity statistics and handcrafted features. Shallow machine-learning methods use classifiers such as SVM, random forest, k-nearest neighbors or shallow neural networks. These methods require less annotated data than deep-learning models and provide more transparent decision rules.
Ali et al. [8] proposed an SVM-based framework for hot-spot detection in PV modules using infrared thermography. The feature vector combines RGB information, texture descriptors, histogram of oriented gradients (HOG) and local binary patterns (LBP). The classifier separates thermal images into healthy, non-faulty hotspot and faulty classes. The reported training accuracy was 96.8%; the reported testing accuracy was 92%. The method uses SVM and handcrafted thermal-image features, but its output is image-level or module-level classification, not local region-level interpretation inside a segmented PV module.
Chen et al. [9] proposed a hot-spot detection method for thermographic images of solar panels. The method converts the image from RGB to HSV color space, segments cells using the H channel, extracts panel edges with the Canny detector and computes the mean and standard deviation of each segmented cell in the B channel and grayscale space. An SVM classifier identifies cells containing hot-spots. The method combines local statistical features with SVM classification, but its scope is cell-level hot-spot detection in panel images, not PV module/background segmentation in UAV imagery.
Ahmed et al. [10] developed a PV health monitoring method using infrared thermography, an  8 × 8 uniform grid, SURF features, k-means visual-vocabulary construction and shallow classifiers. The classes were healthy, hotspot and faulty. The best reported testing accuracy was 97% using SVM. The grid there serves visual-word generation, not adaptive thermal-intensity classification of local module regions.
Kim et al. [20] proposed automatic fault recognition of PV modules from UAV thermography using mean intensity and standard deviation. The method rejects a single global threshold because measured thermal intensity changes with the sensor-to-object distance. A local detection rule is used at the array level. The reported detection accuracy was above 97% on three sample images, supporting adaptive local decision rules in UAV thermography. The test set is small and the decision logic operates at panel level.
Montañez et al. [21] proposed a PV module segmentation and thermal-analysis tool for thermal images. The pipeline applies contrast enhancement, noise reduction, module segmentation and statistical analysis of temperature values in the segmented module. The method connects module segmentation with thermal statistics, with segmentation based on digital image-processing operations and thresholding. The present work instead uses SVM-based module/background segmentation and adaptive grid-based pixel-intensity classification.
Dunderdale et al. [22] compared feature-based machine learning and deep learning for PV defect classification from thermal infrared images. The feature-based part used SIFT, spatial pyramid matching, random forest and SVM. The deep-learning part used VGG-16 and MobileNet. The study supports classical features and shallow classifiers under limited-data conditions, but its focus is defect classification, not local adaptive mapping of high-intensity and low-intensity regions.
Threshold-based intensity pipelines are closest in spirit to the present work. Liao and Lu [23] processed UAV IR and visible images in MATLAB using grayscale conversion, Gaussian filtering and a statistical (probability/cumulative density) analysis of pixel temperature, and flagged a module as defective when the hot-spot area exceeded approximately 1.5% of the module area. This confirms that grayscale-intensity statistics with simple decision rules can localize thermal anomalies, but the rule is a single fixed area threshold rather than an adaptive per-region classification, and no module/background segmentation stage is included. Jaffery et al. [24] combined ground-level IR thermography with a template-matching score and a fuzzy rule base to grade module faults into severity categories, which illustrates an alternative interpretable, low-data decision scheme but operates at the whole-module level.

2.3. PV Module Detection and Segmentation in UAV Thermal Images

PV module segmentation is a prerequisite for reliable local fault analysis. Background regions can contain mounting structures, vegetation, ground surfaces, shadows, power-line reflections and objects with panel-like geometry. Fault classification performed on the full image can produce false positives when non-module pixels are included in the analysis.
Oulefki et al. [25] segmented deteriorated areas in PV modules using unsupervised sensing algorithms, avoiding training labels altogether, an alternative response to the same annotation-scarcity problem that motivates a lightweight feature-based pipeline. Vega Díaz et al. [14] studied solar-panel detection in UAV thermal images with complex backgrounds. The authors compared a classical method and a deep-learning method. The classical method uses preprocessing, edge detection, segmentation and SVM classification with an optimized texture descriptor. The deep-learning method uses a region-based convolutional neural network. The evaluation used 100 random images acquired during eleven UAV flights over three solar plants. The classical method reached precision of 0.997, recall of 0.970 and F1-score of 0.983. The deep-learning method reached precision of 0.996, recall of 0.981 and F1-score of 0.989. The results show that SVM-based classical detection can be competitive for UAV thermal panel detection. Deep detection pipelines address the same segmentation step with convolutional networks: Fernández et al. [26] built a fully automatic UAV pipeline that detects the panel surface (98.5% accuracy) and localizes thermal defects within it (precision 0.976, recall 0.923) with GPS positioning, while Huerta Herraiz et al. [27] cascaded two region-based CNNs—one for panel detection and one for relative hot-spot detection (accuracy 99.0%)—fused with UAV telemetry. These systems achieve strong detection performance but require annotated training data and network inference, in contrast to the lightweight feature-based segmentation used here.
Bommes et al. [11] built a detection, mapping and classification tool for aerial IR videos, curating 4.3 million IR images of 107,842 modules from seven plants and training a ResNet-50 for ten anomaly types to above 90% test accuracy at an inspection capacity of 3.5–9 MWp per day. The work illustrates the data and annotation scale that high-capacity deep-learning systems require.
Jumaboev et al. [28] applied DeepLabV3+, Feature Pyramid Network (FPN) and U-Net to PV plant fault detection using UAV thermal images. The reported IoU values were 79%, 85% and 86% for DeepLabV3+, FPN and U-Net. The corresponding Dice coefficients were 87%, 92% and 94%. These values provide segmentation benchmarks for PV thermal-image analysis, obtained with deep semantic segmentation rather than an interpretable SVM and intensity-rule pipeline.
Kuo et al. [13] proposed an automatic system for detection, classification and localization of PV defects in large plants using UAV-based IR and RGB imaging. The system uses SIFT, homography, RANSAC, image stitching, hue-based background removal, luminance-based module segmentation, morphology and CNN-based classification. The reported IR hot-spot recognition accuracy was 100%. The reported classification accuracy was 97.52% for IR defects and 99.17% for RGB surface defects. The system is multimodal and complex; the present work targets a simpler IR-only workflow.

2.4. Deep-Learning Methods for PV Thermal Fault Diagnosis

Deep-learning methods dominate recent PV thermal-image classification and segmentation studies. CNN, ResNet, U-Net, DeepLabV3+, FPN, Mask R-CNN and multimodal IR/RGB architectures learn image features directly from data. Their performance depends on annotated datasets, training strategy, acquisition consistency and class balance.
Manno et al. [29] compared preprocessing strategies for CNN fault diagnosis on UAV and ground thermographic images, reaching 99% accuracy on 1000 images and 100% on 200 sectioned images. Boubaker et al. [12] assessed ML, DL and hybrid methods on a binary task and a four-class task (bypass diode failure, shading, short-circuited module, soiling), with a best deep-learning accuracy of 98.71%, and concluded that DL outperformed classical ML on their datasets—which positions the present work as a lightweight complement rather than a replacement for high-capacity DL models.
Several studies report near-perfect CNN accuracy on IR PV images. Akram et al. [30] reached 99.2% with a transfer-learning CNN pre-trained on electroluminescence images and fine-tuned on IR images, and Kellil et al. [31] reported 99.9% binary and 99.8% five-class accuracy with a fine-tuned VGG-16 under field conditions. Haidari et al. [32] used a modified VGG-16 to classify healthy, hot-spot and hot-substring regions across combined aerial and ground IR images with 98% accuracy. Alves et al. [33] trained a CNN on the public InfraRed Solar Modules dataset (20,000 images spanning eleven fault classes and one no-anomaly class) and reached 92.5% for anomaly detection but only 78.85% when classifying defects into eight selected classes, which highlights how multi-class performance and dataset balance remain limiting factors even for deep models.

2.5. Research Gap

The reviewed studies cover the main components required for automatic PV thermographic inspection: SVM- and feature-based thermal classification [8,9], grid-based feature extraction [10], local statistical decision rules for UAV thermography [20], segmentation coupled with statistical thermal analysis [21], PV panel detection in complex UAV backgrounds [14], and high-performance deep-learning or multimodal inspection systems [11,12,13,28,29].
The gap is the integration of these components into one lightweight and interpretable workflow. The missing combination is:
  • PV module/background segmentation from infrared imagery;
  • adaptive local pixel-intensity analysis inside the segmented module area;
  • local classification into nominal-intensity, high-intensity and low-intensity regions;
  • evaluation on both close-range IR images and UAV IR images;
  • low-data implementation without a large deep-learning training set.
The proposed workflow addresses this gap by combining SVM-based segmentation with adaptive grid-based pixel-intensity classification. It produces a local classification map and numerical shares of nominal-intensity, high-intensity and low-intensity regions. Each class is derived from explicit intensity rules relative to an adaptive reference, which keeps the output interpretable and suits preliminary inspection, small datasets and transparent screening workflows. Table 1 summarizes the representative related studies and their relation to the proposed method.
Table 1. Representative related studies and their relation to the proposed workflow.
The method does not claim physical hot-spot confirmation from grayscale intensity alone. The high-intensity class denotes elevated local thermal-image intensity relative to the adaptive image reference. Confirmation of a physical hot-spot requires calibrated temperature measurement, electrical testing, electroluminescence imaging or repeated inspection under controlled operating conditions.

3. Materials and Methods

3.1. Proposed Workflow

The proposed method processes infrared images of PV modules in four stages (Figure 1): image preprocessing, PV module/background segmentation, adaptive local pixel-intensity analysis and region-level classification. The input is an infrared image acquired either by close-range thermography or UAV-based aerial thermography. The output is a segmented PV module image with local regions classified as nominal-intensity, high-intensity or low-intensity.
Figure 1. Workflow of the proposed PV module thermal-anomaly-screening method, from IR image acquisition through SVM-based module/background segmentation to adaptive grid-based region classification.
The workflow and the close-range measurement dataset build on the diploma thesis of one of the authors [34], from which the MATLAB pipeline and the raw images originate. Beyond the thesis, the present paper adds the quantitative segmentation evaluation against manually annotated reference masks, the quantitative threshold-baseline comparison, the feature-ablation analysis, the threshold-sensitivity analysis and the non-circular localization check, together with the repositioning of the method relative to the recent literature. The workflow was implemented in MATLAB R2024b (MathWorks, Natick, MA, USA). The Image Processing Toolbox was used for grayscale conversion, filtering and image manipulation. The Computer Vision Toolbox was used for manual annotation in Image Labeler. The Statistics and Machine Learning Toolbox was used for training and applying the SVM classifier. The 596-image UAV evaluation and the end-to-end threshold comparison (Section 4.4) were computed with a Python 3.9.6 (Python Software Foundation, Wilmington, DE, USA) reimplementation of the same pipeline that applies the deployed segmentation-SVM weights; it reproduces the deployed MATLAB UAV segmentation at 99.7% pixel agreement and the original 15-image sector20 shares to within 0.3 percentage points, and both implementations are included in the open deposit (Data Availability Statement).
The processing sequence is:
  • infrared image acquisition;
  • conversion of the input image to grayscale;
  • Gaussian filtering;
  • manual annotation of PV module and background regions;
  • extraction of grayscale and texture descriptors;
  • SVM-based classification of image regions into PV module and background;
  • generation of a segmented image with the background set to zero intensity;
  • adaptive grid-based pixel-intensity analysis inside the segmented PV module area;
  • classification of local regions as nominal-intensity, high-intensity or low-intensity;
  • export of visual classification maps and numerical indicators.

3.2. Infrared Image Datasets

Two infrared image datasets were used (Table 2). Dataset 1 contains close-range infrared images of a measured PV module under controlled outdoor conditions. Dataset 2 contains UAV-based infrared images of a PV power plant.
Table 2. Infrared image datasets used in this study.
Dataset 1 was acquired with a HIKMICRO HM-TP21-6VF/W-M10 infrared camera (Hangzhou Microimage Software Co., Ltd., Hangzhou, China). The measured device was a 20 W MAXX monocrystalline PV module whose technical parameters are listed in Table 3. The module was placed outdoors and measured during clear, sunny conditions on 20 February 2025 and 4 April 2025 in two acquisition sessions. The camera’s internal clock had not been set, so the date stamp rendered into the exported frames (visible in Figure 2) does not correspond to the actual acquisition dates; the stamps still separate the two sessions consistently. The on-site irradiance, ambient temperature and wind speed were not logged during acquisition; because thermal contrast scales with irradiance, this is a limitation for the quantitative interpretation of the measured temperature differences. The module was connected to an artificial electrical load during measurement. The load was a rheostat set to 9.714 Ω , below the module’s maximum-power-point resistance ( U mp / I mp ≈ 17.4 Ω ); this biases the module to the left of the maximum power point, toward the current-source region, which is the condition under which an occluded cell is driven into reverse bias and overheats. The operating voltage and current were not recorded during acquisition, so the reverse-bias argument rests on the load setting rather than on measured operating points. The module tilt angle was approximately 20 ∘ .
Table 3. Technical parameters of the measured PV module used in Dataset 1.
Figure 2. Preprocessing of an infrared PV module image: original image, grayscale conversion and Gaussian filtering. The close-range source frame is a fused infrared/visible image—the camera’s visible-light edge fusion (MSX-type overlay) was active during acquisition—so the sharp cell-grid, frame and background contours in (a) originate from the visible channel and not from the thermal sensor (Section 3.2). The coloured crosses and the small box in (a) are the camera’s own on-screen spot markers, corresponding to the centre, maximum and minimum readings shown at the top left; they belong to the exported frame and are not used by the workflow. Source image from [34].
The close-range frames (for example Figure 2) show sharp cell-grid lines, module-frame edges and background texture that a purely radiometric thermal sensor of this class does not resolve. This indicates that they were recorded with the camera’s visible-light edge fusion active—an MSX-type overlay in which contours extracted from a co-registered visible image are superimposed on the thermal frame—rather than as raw radiometric thermograms. The exact camera setting was not logged during acquisition and cannot be reconstructed from the exported images, so the fusion is inferred from the image content. The visible-edge enhancement sharpens boundaries, which aids module/background segmentation, but it can locally perturb the grayscale intensity near high-contrast edges; this reinforces that the workflow operates on rendered image brightness rather than calibrated temperature (Section 3.3) and is noted again among the limitations.
Controlled disturbances were introduced on the module surface. Selected cells or cell parts were covered using insulating tape and opaque covers. These disturbances produced local thermal differences on the module surface and were used to simulate shading, soiling-like occlusion and localized overheating conditions. After acquisition, the 70 close-range images were split once into training and test subsets using a 70/30 ratio (49 training and 21 test images). The 21 test images were used for the quantitative evaluation reported in Section 4; the exact test partition is provided in the open deposit (see the Data Availability Statement) so that the reported metrics can be reproduced without re-running the split.
Dataset 2 contains UAV-acquired infrared images of a PV power plant taken from a publicly available aerial thermographic image set (the Roboflow Solar Panel Hotspot Detection dataset [35], version 1 dated 23 February 2024; Roboflow Universe workspace dd-56ld9, project solar-panel-hotspot-detection, accessed 3 April 2025). The exact project is identified here because several similarly named public datasets exist. The images were acquired during partly cloudy summer conditions and use an iron color palette (Section 3.3). The public set contains 596 images at 640 × 640 pixels spanning five plant sectors: sector20 (98 images), sector25 (146), sector26 (106), sector29 (154) and sector30 (92). The folder-format export used here distributes only image-level pv labels; it does not include hotspot bounding boxes or masks, so no external hotspot annotations were available as ground truth. This is consistent with the proposed pipeline, which performs unsupervised module/background segmentation and intensity-based screening rather than supervised hotspot detection. The pipeline is applied to all 596 images (Section 4) to characterize its screening output across a larger and more diverse UAV set than a single sector; an earlier evaluation had used only a 15-image subset of sector20. UAV images contain multiple PV modules, changing background structures and different image geometry compared with close-range inspection.
The two datasets were processed with domain-specific segmentation models: a separate linear SVM was trained for each domain from its manually labelled regions (Section 3.4) and then applied to that domain’s images—the 21 close-range test images for Dataset 1 and all 596 images for Dataset 2. The screening rule that follows segmentation is unsupervised and identical in both domains, so applying the UAV segmentation model to the full 596-image set does not fit the reported class shares to any label. The SVM is domain-specific; cross-domain consistency in the present study comes from the adaptive reference intensity μ ref used in the classification stage, not from a single segmentation model shared across domains.

3.3. Image Preprocessing

Each input infrared image was converted to grayscale before segmentation. The grayscale image represents each pixel by one intensity value in the range from 0 to 255. Higher intensity values correspond to brighter thermal-image regions. The analysis assumes that grayscale intensity is a monotonically increasing function of radiated temperature. Both the close-range HIKMICRO images and the public UAV images use an iron (ironbow) color palette, in which the coldest regions are rendered dark blue and purple and the hottest regions pass through red and orange to yellow and white; the workflow first converts these color images to grayscale with Equation (1) before all subsequent processing. For the iron palette the resulting luminance increases approximately monotonically with temperature, so the monotonicity assumption holds approximately for the data used here. A strongly non-monotonic false-color palette (e.g., rainbow) would break this mapping and is unsuitable as input. The workflow operates on these palette-rendered 8-bit images, not on radiometric temperature data; the intensity scale, and hence the threshold offsets in Equation (10), are palette- and camera-dependent and carry no absolute temperature meaning. The camera radiometric settings (emissivity, reflected temperature, palette locking and auto-ranging) were not logged for the close-range acquisition, so the method is image-palette dependent and a radiometric reimplementation would require recalibrating the offsets against temperature differences.
For an RGB thermal image I RGB , the grayscale image is defined as
I g = rgb2gray ( I RGB ) .
If the input image was already grayscale, the conversion step was omitted. Gaussian filtering was applied after grayscale conversion:
I f = G σ ∗ I g ,
where I f is the filtered image, G σ is the Gaussian kernel, ∗ denotes convolution and σ is the standard deviation of the Gaussian kernel. The implementation used the MATLAB function imgaussfilt with σ = 2 and its default kernel window of 2 ⌈ 2 σ ⌉ + 1 = 9 × 9  pixels (a normalized 2-D Gaussian; no custom kernel matrix was specified).
Preprocessing reduces thermal-image noise and smooths local intensity variations, improving the separability of PV module and background regions before SVM classification while retaining enough edge information. Figure 2 shows the effect of the two steps.

3.4. Manual Annotation

Training data for module/background segmentation were prepared in MATLAB Image Labeler. Two classes were defined: PV module and background. Rectangular regions of interest were manually labelled in the preprocessed images. The labels were selected to include representative differences in grayscale intensity, texture and local background structure.
The annotation did not aim to trace the PV module boundary with pixel-perfect precision. The objective was to provide balanced and representative samples of PV module regions and background regions for SVM training. The PV module class and background class were kept approximately balanced during sample selection to reduce class bias.
The labelled regions were exported from Image Labeler and processed in MATLAB. Each labelled region was used to calculate a feature vector and a corresponding class label. The classifier was a linear support vector machine with feature standardization (zero mean, unit variance) and the default box constraint ( C = 1 ), trained in a one-vs-all error-correcting-output-code scheme; the two classes were kept approximately balanced at the block level (close-range model: 871 blocks, 400 module/471 background; UAV model: 632 blocks, 316/316). The trained weight vectors are reported in Section 4 and released with the code. The training regions are variable-size rectangles, but each region is reduced to the same four scalar features, so the classifier is size-independent and is applied unchanged to the fixed 32 × 32 inference blocks (Section 3.6).

3.5. Feature Extraction

A four-component feature vector was extracted from each labelled image region:
x = μ , σ , C , H ,
where μ is the mean grayscale intensity, σ is the standard deviation of grayscale intensity, C is the gray-level co-occurrence matrix (GLCM) contrast and H is the GLCM homogeneity.
The mean intensity describes the average thermal-image brightness of the region. The standard deviation describes local intensity dispersion. The GLCM descriptors describe texture properties that help separate PV module surfaces from background structures.
The same feature extraction procedure was applied during training and inference.

3.6. SVM-Based PV Module Segmentation

PV module/background segmentation was formulated as a binary classification task. Each local image region was assigned either to the PV module class or to the background class. A linear SVM classifier was used.
For a feature vector x , the SVM decision function is
f ( x ) = w T x + b ,
where w is the weight vector and b is the bias term. The predicted class is
y ^ = 1 , f ( x ) ≥ 0 , 0 , f ( x ) < 0 ,
where y ^ = 1 denotes the PV module class and y ^ = 0 denotes the background class.
The linear kernel was selected because grayscale and texture features after preprocessing produced separable PV module and background samples in the training data. A nonlinear kernel was not used in the current implementation.
During inference, the test image was divided into non-overlapping 32 × 32 pixel blocks. The feature vector in Equation (3) was calculated for each block. The trained SVM model classified each block as PV module or background. Regions classified as background were set to zero intensity. Regions classified as PV module were retained for local intensity analysis.
The segmentation output is denoted as I s . It contains the PV module area and zero-valued background pixels.

3.7. Image-Selection Criteria After Segmentation

Only images with sufficient segmentation quality were used for local region classification. Three image categories were used:
  • successful segmentation;
  • sufficient segmentation;
  • unsuccessful segmentation.
For the close-range dataset, where manually annotated reference masks are available, these categories are made operational from the per-image agreement between the SVM segmentation and the reference mask rather than assigned by eye. Successful segmentation denotes images that recover at least about 85% of the reference module area (recall ≳ 0.85 ) with little retained background; sufficient segmentation denotes images that recover the module but retain up to about 20% background relative to the segmented area; and unsuccessful segmentation denotes images in which retained background or camera-interface elements are large enough to corrupt the adaptive reference intensity. These labels are consistent with the pixel-level metrics: the successful and sufficient images have a higher mean IoU (0.655) than the unsuccessful ones (0.578) and a higher precision, so the ordering is supported quantitatively. Because the excluded unsuccessful images are exactly those whose retained background biases μ ref , their exclusion removes a known source of error rather than selecting for a particular class outcome. For the UAV dataset no reference masks are available, so the same criterion is applied as a visual estimate of the correctly segmented module-pixel share.
Image selection is required because false PV module regions can change the adaptive reference intensity and produce false high-intensity or low-intensity regions. Dataset 1 contains close-range images with a more difficult background; Dataset 2 contains UAV images with more consistent viewing geometry and less interfering foreground equipment.

3.8. Adaptive Grid-Based Pixel-Intensity Analysis

The segmented image I s was divided into an adaptive square grid. The grid density depends on the image size. For an image with height M and width N, the number of grid rows and columns is
n r = M 2 , n c = N 2 .
The grid-cell height and width are
h cell = M n r , w cell = N n c .
For a 640 × 480 image, this implementation produces an approximately 2 × 2 pixel grid-cell size, i.e., a fine near-pixel sampling lattice. This grid is distinct from, and finer than, the 32 × 32 blocks used for SVM segmentation: it provides dense local intensity sampling for the classification stage, while smoothing of pixel noise is handled mainly by the Gaussian preprocessing rather than by the small 2 × 2 averaging window. To avoid over-interpreting the terminology, we note that the cell size is effectively fixed at ∼2 px, so the analysis is in practice a near-pixel intensity classification; “adaptive” here refers to the per-image reference intensity μ ref and to the grid count scaling with image size, not to an adaptive cell size, and “region” denotes such a near-pixel cell rather than a coarse super-pixel.
For each valid grid cell ( i , j ) , the mean intensity is calculated from non-zero pixels only:
μ i j = 1 | Ω i j | ∑ p ∈ Ω i j I s ( p ) ,
where Ω i j is the set of non-zero pixels in grid cell ( i , j ) and | Ω i j | is the number of pixels in that set. Grid cells containing only zero-valued background pixels are excluded.
The adaptive reference intensity is calculated from valid PV module grid cells:
μ ref = 1 K ∑ ( i , j ) ∈ V μ i j ,
where V is the set of valid grid cells used for reference calculation and K is their number. To limit the bias from the module frame—which is usually colder than the active PV-cell area—the outermost grid rows and columns of the segmented module (its border band) are excluded from the reference computation. This is a simple geometric heuristic rather than a learned frame detector, and residual frame pixels can still influence the low-intensity class.

3.9. Region-Level Classification

Each valid grid cell is classified into one of three classes: nominal-intensity, high-intensity anomaly or low-intensity anomaly. The two anomaly classes flag cells that deviate from the module-internal reference intensity and are candidates for closer inspection rather than confirmed physical faults; for brevity they are referred to below by their intensity level (high-intensity and low-intensity). The classification uses the adaptive reference intensity μ ref and two empirical intensity offsets. The upper offset is 48 grayscale-intensity levels. The lower offset is 60 grayscale-intensity levels. These offsets were tuned empirically on the close-range measurements of the source thesis [34] so that the flagged regions matched the visually identified disturbances, and were then applied unchanged to both datasets; their sensitivity is quantified in Section 4.7. Because the offsets were fixed on Dataset 1, the reproduction of the Dataset 1 shares in Section 4.7 is a consistency check, not an independent validation. The offsets are specific to the camera, palette and acquisition conditions used here and should be re-derived, not reused verbatim, for a different setup. A practical recalibration procedure is to acquire a small set of modules containing both clearly nominal and known-defective regions under the target camera and palette, and then set the two offsets so that the flagged high- and low-intensity shares match those known cases; expressing the offsets relative to the module-internal intensity spread (for example as a fixed multiple of the median absolute deviation of the interior-cell intensities) rather than as fixed grayscale levels would make them less palette- and exposure-dependent, and is the more transferable formulation left for future work. The sensitivity curves in Section 4.7 indicate the magnitude of the share change to expect when the offsets are moved.
The classification rule is
c i j = high - intensity anomaly , μ i j > μ ref + 48 , low - intensity anomaly , μ i j < μ ref − 60 , nominal - intensity , otherwise .
The high-intensity anomaly class denotes local regions with substantially higher grayscale intensity than the adaptive reference. These regions indicate locally elevated thermal-image brightness. The low-intensity anomaly class denotes local regions with substantially lower grayscale intensity than the adaptive reference. These regions may correspond to shading, surface contamination, colder module areas, residual frame effects or other low-brightness effects. The nominal-intensity class denotes regions within the adaptive intensity interval.
These class names refer to relative grayscale intensity, not calibrated temperature difference: a high-intensity anomaly is a candidate for inspection rather than a confirmed hot-spot, and physical confirmation requires calibrated thermography, repeated measurements, electrical testing or electroluminescence imaging.

3.10. Numerical Output

The method produces a visual classification map and a numerical output table for each processed image. The exported values are:
  • adaptive reference intensity μ ref ;
  • high-intensity threshold μ ref + 48 ;
  • low-intensity threshold μ ref − 60 ;
  • percentage share of nominal-intensity regions;
  • percentage share of high-intensity regions;
  • percentage share of low-intensity regions;
  • maximum local mean-intensity value;
  • position of the grid cell with maximum local mean intensity.
The percentage share of class k is
P k = N k N valid × 100 ,
where N k is the number of valid grid cells assigned to class k and N valid is the total number of valid PV module grid cells.
The grid cell with the maximum local mean intensity is marked separately in the visual output. This position is treated as the region with the strongest high-intensity indication in the processed image.

3.11. Evaluation Protocol

The evaluation is divided into segmentation performance, local classification performance and computational performance.
Segmentation performance was evaluated in two complementary ways. First, an image-level categorical quality criterion based on the share of correctly segmented PV-module area was applied to both datasets, as defined in Section 3.7 (successful, sufficient or unsuccessful segmentation). Second, for the close-range dataset, pixel-level metrics were computed against manually annotated reference masks: the outer boundary of the PV module was delineated by hand by a single annotator for each of the 21 close-range test images, and the resulting binary reference masks were compared with the SVM segmentation output (non-zero pixels of I s ). The reference masks follow the module’s outer frame edge, so they include the frame, whereas the classification stage excludes the border grid cells; this minor definition difference should be considered when interpreting the precision values. Dense reference masks for the UAV dataset, whose multi-module scenes are more laborious to annotate, are left for future work. The pixel-level metrics are precision, recall, F1-score, intersection over union (IoU) and Dice coefficient:
Precision = T P T P + F P ,
Recall = T P T P + F N ,
F 1 = 2 · Precision · Recall Precision + Recall ,
IoU = T P T P + F P + F N ,
Dice = 2 T P 2 T P + F P + F N ,
where T P , F P and F N denote true-positive, false-positive and false-negative pixels or regions, depending on the evaluation level.
Local classification performance is reported as the percentage area share of the nominal-intensity, high-intensity and low-intensity classes for each image and dataset, together with the adaptive reference intensity and the maximum local intensity. Dense per-cell ground-truth labels for all grid cells were not available; the region-share statistics are the primary quantitative output. For the close-range dataset they are checked qualitatively against the location of the artificially induced disturbances (Dataset 1). For the UAV dataset no independent record of the plant’s electrical or health state was available to the authors, so the Dataset 2 shares are reported as illustrative screening outputs and are not validated against a known operating state. A fully labelled confusion matrix with class-wise precision, recall, F1-score, macro-F1 and balanced accuracy is identified as future work once dense annotations are produced.
Computational performance is reported as the mean processing time per image on the close-range test set (Section 4); the workflow uses four scalar features per region, a linear SVM and elementary grid statistics, so its cost is dominated by image input/output and feature extraction rather than by model inference. The evaluation metrics used in this study are summarized in Table 4.
Table 4. Evaluation metrics for the proposed workflow. The segmentation, region-share and computational metrics are computed in this study; the full region-level classification metrics require dense per-cell ground truth and are identified as future work.

3.12. Baseline Methods

A controlled comparison with three threshold-based baselines is used to isolate the contribution of the two main components of the workflow:
  • global grayscale thresholding;
  • Otsu thresholding;
  • mean-plus-standard-deviation thresholding.
The comparison separates the effect of SVM-based module/background segmentation from the effect of adaptive local pixel-intensity classification, using the same test images and the same reference masks. For the segmentation stage the comparison is quantitative against the manually annotated masks (Section 4); for the local three-class output a quantitative score requires dense per-cell ground-truth labels that were not available in the present study and is identified as a target for the planned annotated benchmark. The baseline methods and their expected limitations are summarized in Table 5.
Table 5. Threshold baselines compared with the proposed workflow.

3.13. Methodological Limitations

The method uses relative grayscale intensity, not calibrated temperature. The threshold values in Equation (10) are empirical and depend on image preprocessing, camera output and acquisition conditions. Their effect is quantified by the sensitivity analysis in Section 4.7, which shows that the class shares change monotonically with the offsets and that the two acquisition domains lie on different parts of the sensitivity curves.
Segmentation quality controls the reliability of the classification stage. Incorrectly retained background regions can change μ ref and create false high-intensity or low-intensity regions. Images with unsuccessful segmentation are excluded from local classification and reported separately.
The low-intensity anomaly class groups cells that are darker than the module-internal reference. It does not distinguish physical shading from soiling, colder inactive areas, frame effects or remaining background artifacts. Physical interpretation requires additional inspection data. The class sign is also time-dependent for occlusion-type faults: a freshly occluded cell first appears cold (low intensity) because it no longer absorbs irradiance, and only after the reverse-bias dissipation builds up does it heat and appear as a hotspot. The same defect can register as low-intensity or high-intensity depending on the acquisition time relative to the thermal transient, which is why the controlled occlusion in Dataset 1 was imaged after a 20-min exposure.
For the workflow to be applied reliably to new data, the acquisition should be controlled and logged more tightly than it was here. Because the classification operates on rendered image brightness, users should lock the camera palette and dynamic range (avoid auto-ranging between frames), prefer radiometric export over palette-rendered 8-bit images where the camera allows it, disable visible-light edge fusion (or record that it is active), and log the on-site irradiance, ambient temperature, wind speed, module operating point and camera emissivity/reflected-temperature settings. These parameters govern thermal contrast and the intensity offsets, and recording them is what allows the empirical offsets to be recalibrated for a different camera, palette or plant (Section 3.9).
The method is intended for preliminary thermal screening. Maintenance decisions require confirmation by calibrated thermography, electrical measurements, repeated UAV inspection or electroluminescence imaging.

4. Results

The results are reported in four parts: PV module/background segmentation, local region classification for the controlled close-range dataset, local region classification for the UAV dataset, and computational behaviour. Segmentation is assessed using the categorical quality criterion of Section 3.7 and, for the close-range dataset, with pixel-level metrics against manually annotated reference masks; local classification is reported as per-class area shares together with the adaptive reference intensity μ ref and the maximum local intensity.

4.1. Segmentation Performance

Table 6 summarizes the image-level segmentation quality for both datasets. For the close-range dataset (Dataset 1, 21 test images), 13 images (61.90%) reached successful segmentation with at least 85% correctly separated PV-module area, 4 images (19.05%) reached sufficient segmentation, and 4 images (19.05%) were unsuccessful. The 17 successful and sufficient images (80.95%) were retained for local classification. For the UAV dataset (Dataset 2), the SVM produced a plausible module segmentation on all 596 images (a retained module area between 5% and 98% of the frame on every image, with no collapse to background or whole-frame retention); in the absence of UAV reference masks this is an area-based plausibility check rather than a measured pixel-level metric.
Table 6. Image-level PV module/background segmentation quality. Values are image counts with the corresponding share of the test subset. The Dataset 2 row is not a measured segmentation accuracy: no UAV reference masks exist, so “successful” there denotes only an area-based plausibility check (retained module area between 5% and 98% of the frame) and must not be read as a validated 100% success rate. Only the Dataset 1 row is backed by pixel-level metrics against reference masks (Table 7).
The unsuccessful close-range cases were caused by interfering foreground equipment and acquisition artifacts: the rheostat used as the electrical load was classified as part of the PV module, the infrared-camera color-scale interface was retained in the image, and in some frames the thermal contrast between the module and the background was too weak for reliable separation. The UAV images did not exhibit these problems because of their more consistent nadir viewing geometry and the absence of close-range foreground equipment. This difference is the main reason for the large gap in segmentation success between the two domains and motivates the image-selection step that precedes local classification. Representative successful and failed segmentation results are shown in Figure 3.
Figure 3. Example of SVM-based segmentation, with background regions replaced by zero-intensity pixels: (a) a successful/sufficient case where the PV module is retained (some background blocks remain on the left); (b) an unsuccessful case in which the electrical load rheostat is misclassified as part of the module. Source images from [34].
Pixel-level segmentation metrics for the close-range dataset, computed against the manually annotated reference masks, are given in Table 7. Over all 21 close-range test images the SVM segmentation reached a mean IoU of 0.640, a Dice coefficient of 0.778 and an F1-score of 0.778, with a recall of 0.833 and a precision of 0.738 (for binary masks the F1-score and the Dice coefficient coincide, so the two values are identical by construction). The high recall confirms that the PV module is reliably captured, while the lower precision reflects the over-segmentation noted above, where parts of the camera interface and background are retained as module pixels. Restricting the evaluation to the 17 successful and sufficient images raises the mean IoU to 0.655 and the precision to 0.761, whereas the four unsuccessful images reach a mean IoU of 0.578; the consistent ordering supports the image-level quality criterion. The unsuccessful images show a higher recall (0.870) but a lower precision (0.644) than the usable ones, which is the expected signature of over-segmentation: they capture the module together with large background regions, so most module pixels are retained (high recall) at the cost of many false positives (low precision). These values are in the range reported for classical PV panel detection in thermal imagery, although a direct comparison is limited by differences in datasets and annotation protocols. Because Dataset 1 comprises repeated images of a single module split at the image level, training and test frames share a very similar scene, so these close-range metrics are likely optimistic relative to unseen modules or scenes; this is discussed further in Section 5 and Section 6.
Table 7. Pixel-level PV module/background segmentation metrics for the close-range dataset (Dataset 1), computed against manually annotated reference masks for the 21 test images. Each value is the mean of the per-image metrics; the F1-score is not exactly 2 P R / ( P + R ) of the tabulated mean precision and recall.

4.2. Local Thermal-Anomaly Screening Results for the Controlled Dataset

The adaptive grid-based analysis was applied to the 17 retained close-range images. Averaged over these images, the local regions were classified as 88.81% nominal-intensity, 9.88% high-intensity and 1.30% low-intensity (Table 8). The adaptive reference intensity μ ref ranged from 114.84 to 144.17 (mean 131.4), and the maximum local mean intensity ranged from 232.0 to 241.8 (mean 235.1). The relatively large high-intensity share is consistent with the controlled nature of this dataset, in which selected cells were intentionally covered to create localized thermal differences. The per-image distribution of the three classes is shown in Figure 4a.
Table 8. Local thermal-anomaly class shares on the controlled close-range dataset (Dataset 1): mean per-class area share and the spread across the 17 usable images.
Per-image results confirm the localization behaviour of the method. For image 8 the analysis returned μ ref = 139.44 with 12.35% high-intensity and 1.72% low-intensity regions; for image 9, μ ref = 144.17 with 11.07% high-intensity regions; and for image 18, μ ref = 126.08 with 10.14% high-intensity and 0.10% low-intensity regions. Example classification maps are shown in Figure 5.
Figure 4. Per-image local class shares (nominal-intensity, high-intensity, low-intensity) produced by the workflow: (a) close-range dataset (Dataset 1; 21 images shown, per-class means computed over the 17 retained); (b) UAV dataset (Dataset 2, the 15-image sector20 subset; the full 596-image, five-sector results are in Figure 6). Hatched bars marked with an asterisk in (a) are the four images with unsuccessful segmentation, which were excluded from the reported per-class means. Dataset 1 shows a variable high-intensity share from the artificially induced defects; the sector20 subset shows a low and stable high-intensity share with a larger low-intensity contribution from frames, inter-cell gaps and soiling.
The controlled dataset allows a qualitative localization check against independently known defects rather than against the image intensity itself. The measured module carries a documented physical fault—corroded interconnection bus-bars with elevated contact resistance in its lower half, on the bottom two cells—identified by inspection of the hardware. Because the defect location (lower half, bottom two cells) is known independently from hardware inspection rather than from the image intensity, it provides a non-circular reference for a localization check. Quantitatively, over the 17 usable close-range images a mean of 85% (median 96%, SD 28%) of the high-intensity cells fell in the lower half of the module, and 14 of the 17 images had more than 70% of their high-intensity cells in that region, in agreement with the documented bus-bar defect; the high median shows that a typical image concentrates almost all high-intensity cells in the lower half, while the mean is pulled down by the three images (of the 17) in which 70% or fewer of the high-intensity cells fell in the lower half. In most images the grid cell of maximum local mean intensity also fell in the lower-half bus-bar region; the clearest exception is the image with a plastic cover applied for 20 min, where the high-intensity response followed the position of the cover rather than the bus-bar. The detected anomalies coincide with defects whose location is known from the experimental setup and from hardware inspection, not inferred from the same grayscale data, which provides independent (if qualitative) support for the localization. No photographic, electrical or electroluminescence record of the bus-bar corrosion was collected during the campaign; the supporting evidence is the visual hardware inspection of the module rather than an instrumented measurement, so this remains a suggestive localization check and not a validated defect confirmation. A quantitative per-region confusion matrix is deliberately not reported here: because both the method and any visual labelling of these thermal images rely on the same pixel intensity, an intensity-derived reference would be circular. An unbiased confusion matrix requires an independent ground truth—electroluminescence imaging, current–voltage characterization of individual cells, or documented per-cell occlusion masks—and is identified as necessary future work (Section 5).
Figure 5. Example of adaptive local pixel-intensity classification into nominal-intensity, high-intensity and low-intensity regions: (a) close-range module (Dataset 1, image 8), with the high-intensity cluster in the lower half; (b) UAV plant view (Dataset 2, image 0187). The magenta cell marks the maximum local mean intensity; background is shown in black. The close-range source image in (a) is from [34].
Figure 6. UAV screening output over all 596 images across five plant sectors: (a) per-sector mean local class shares from the proposed SVM pipeline; (b) high-intensity anomaly share per sector for the SVM pipeline (error bars: SD across images) and the Otsu-threshold end-to-end pipeline, showing that the two segmentations yield almost the same high-intensity share.

4.3. Local Thermal-Anomaly Screening Results for the UAV Dataset

The pipeline was applied to all 596 UAV images across the five plant sectors; a plausible module segmentation was obtained on every image (Section 4.1). Averaged over the full set, the local regions were classified as 90.27% nominal-intensity, 4.54% high-intensity and 5.19% low-intensity (Table 9). The between-sector means show a moderate spread that a single sector cannot reveal: the high-intensity share ranges from 2.16% in sector20 to 7.24% in sector30, and the low-intensity share from 2.50% (sector29) to 6.94% (sector25). The full sector20 mean (91.22/2.16/6.62) is close to the earlier 15-image sector20 result (91.22/2.48/6.30)—the nominal share coincides while the high- and low-intensity shares differ by about 0.3 percentage points—confirming that the previously reported subset was broadly representative of its sector while the full set exposes the sector-to-sector variation. The per-sector distribution is shown in Figure 6.
Table 9. Local thermal-anomaly class shares on the UAV infrared dataset (Dataset 2), computed with the proposed SVM pipeline over all 596 images and reported per sector (mean ± SD of the per-image area shares); the bold row is the pooled result over all 596 images.
Compared with the controlled close-range dataset, the UAV domain shows a lower and more variable high-intensity share, consistent with an operational plant in which most module area falls in the nominal-intensity band, only a small fraction is locally brighter than the reference, and the colder module frames, inter-cell gaps and minor surface soiling contribute the low-intensity share. The between-sector differences—sector30 and sector29 carry the largest high-intensity shares—may reflect genuine differences in module condition or in acquisition (sector30 was captured on a different day from the others), and cannot be attributed to plant health without independent ground truth. Because thermal contrast scales with operating current and hence irradiance, the partly cloudy acquisition remains a competing explanation for the generally small high-intensity shares, so the UAV shares are reported as screening outputs, not as a diagnosed plant state. As an illustrative frame, image 0187 of sector20 returned μ ref = 171.88 with an 8.35% high-intensity share, near the top of the sector20 range; a local accumulation on a module frame in another frame produced a high-intensity response that does not correspond to a cell defect, which shows the method’s sensitivity to surface contamination on non-active areas. Example classification maps are shown in Figure 5.

4.4. End-to-End Comparison with a Threshold Pipeline

A comparison of the complete screening output—not only the segmentation stage—against a conventional method requires a baseline that shares the downstream analysis. A full threshold pipeline was built by replacing the SVM module/background segmentation with per-image Otsu thresholding and keeping the rest of the workflow (grayscale conversion, Gaussian filtering, the adaptive grid and the same + 48 /−60 intensity rule) unchanged. Both pipelines were run on all 596 UAV images. Table 10 reports the resulting class shares. The two pipelines produce almost the same high-intensity anomaly share (SVM 4.54% versus Otsu 4.50% overall; mean absolute per-image difference 0.97 percentage points), and the per-sector ordering is preserved. They differ mainly in the low-intensity class (5.19% versus 7.60%): Otsu retains more of the cold module frames and background as module area, which inflates the low-intensity share and slightly lowers the nominal share. The screening decision that matters for inspection—where the high-intensity anomalies are and how large a share they occupy—is essentially the same whether the module is isolated by the trained SVM or by a per-image threshold. This extends, at the level of the complete pipeline and over 596 images, the segmentation-stage finding that the SVM performs on par with simple thresholding (Section 4.5): the value of the SVM stage is its explicit, auditable per-block formulation and its module segmentation (a plausible mask on all 596 images), not a different or more accurate screening result. Otsu is itself automatic and label-free, so the SVM does not reduce the data requirement relative to it; the SVM stage is retained here as an interpretable, trainable alternative with more stable worst-case segmentation (Section 4.5).
Table 10. End-to-end comparison of the proposed SVM pipeline and an Otsu-threshold pipeline on all 596 UAV images (mean per-class area share, %). Only the module/background segmentation stage differs; the downstream adaptive-grid classification is identical. The bold row is the pooled result over all 596 images.

4.5. Comparison with Baseline Methods

The SVM module/background segmentation was compared quantitatively with three threshold-based baselines on the close-range dataset, using the same manually annotated reference masks and no morphological post-processing for any method, so that the comparison isolates the core decision rule. The baselines were a single global grayscale threshold (the dataset-wide mean intensity, 97.5, computed over the pooled test-image pixels, which favours the baseline and makes the comparison conservative), per-image Otsu thresholding, and a per-image mean-plus-standard-deviation rule. The results are summarized in Table 11.
Table 11. Quantitative comparison of PV module/background segmentation methods on the close-range dataset (Dataset 1, 21 test images, no morphological post-processing). Values are means over the test images and “Min IoU” is the worst-case image; the counts of images on which the proposed method matches or exceeds each baseline are reported in the running text. Bold marks the best worst-case IoU and the lowest variance among the methods that capture the full module (the mean-plus-standard-deviation rule reaches a lower variance only by selecting a small, bright subset at recall 0.382); the mean IoU of the SVM and the global threshold are within noise (0.640 vs. 0.639) and neither is marked as best.
In mean IoU the proposed SVM (0.640) is comparable to the global threshold (0.639) and slightly above Otsu (0.628), and well above the mean-plus-standard-deviation rule (0.362). This near-equality is statistically confirmed: over the 21 per-image IoU values the bootstrap 95% confidence intervals overlap almost completely (SVM 0.640, [0.604, 0.675]; global threshold 0.639, [0.598, 0.674]; Otsu 0.628, [0.588, 0.661]), the mean paired difference between the SVM and the global threshold is + 0.001 with a 95% confidence interval of [ − 0.018 , + 0.019 ] , and a paired Wilcoxon signed-rank test finds no significant difference (SVM versus global threshold p = 0.41 ; versus Otsu p = 0.29 ). Because the global threshold value (97.5) is the pooled test-image mean and is test-set-informed, the same threshold was also learned on the close-range training images only; this leakage-free variant reaches a mean IoU of 0.633 ( [ 0.597 ,   0.666 ] ), again statistically indistinguishable from the SVM ( p = 0.15 ). The SVM matches simple intensity thresholding to within measurement noise rather than providing an average-accuracy advantage, but it is more robust: it attained the highest worst-case IoU (0.464, versus 0.411 for the global threshold and 0.370 for Otsu), the lowest variance among the methods that capture the module (standard deviation 0.083), and it matched or exceeded the global and Otsu baselines on 15 and 13 of the 21 images, respectively—without a manually chosen or per-image intensity threshold. The mean-plus-standard-deviation rule selects only the brightest pixels (recall 0.382) and fails to capture the full module extent, which confirms that a single global statistic is insufficient for module/background separation. The interpretation of the threshold baselines remains as stated above: a fixed global threshold is sensitive to changing acquisition brightness and to bright foreground equipment, Otsu collapses when module and background intensities overlap, and the global statistical rule cannot localize the lower-half bus-bar regions. To clarify which features drive the separation, a feature-ablation analysis was performed: a linear discriminant classifier was trained on the four block features with module/background labels derived from the reference masks, and evaluated with leave-one-image-out cross-validation for three feature subsets (Table 12). Adding the intensity standard deviation to the mean improves the balanced accuracy from 0.816 to 0.842 (block-level IoU from 0.643 to 0.690), but adding the two GLCM texture descriptors (contrast and homogeneity) gives no further gain (0.842; IoU 0.691). The module/background separation is driven almost entirely by intensity statistics, which explains why the linear SVM performs like an intensity threshold; the GLCM texture features are largely redundant for this task and could be dropped without loss. The deployed segmentation SVMs confirm the leading role of intensity directly, not only through the proxy classifier. Because the four features are standardized during training, their coefficients are directly comparable. In the close-range (Dataset 1) model the mean intensity carries the largest share of the weight magnitude (70%), the standard deviation a small share (3%) and the two GLCM descriptors the remaining 27%; in the UAV (Dataset 2) model the mean intensity dominates more strongly (88%), with 9% on the GLCM descriptors. The mean intensity is the single most influential feature in both domains. The close-range model still assigns moderate weight to the GLCM descriptors, but the leave-one-image-out ablation above shows that these texture features add no cross-validated accuracy and can be removed without loss, so the model uses them without benefiting from them. The decision is led by image intensity, consistent with the near-threshold behavior reported above. A reduced two-feature model using only the mean and standard deviation is the recommended configuration for new deployments: it discards the two GLCM descriptors, which carry no cross-validated benefit and are at the same time the dominant per-block computational cost (Section 4.6), so the simplification both shrinks the feature vector and speeds up processing. The four-feature vector is retained in the results reported here only for continuity with the source pipeline. Both threshold baselines are themselves automatic and label-free—Otsu in particular needs neither a manual threshold nor the manually labelled training blocks the SVM requires—so the SVM’s advantage over them is not a lower data cost but the interpretability of an explicit per-block linear rule and the higher worst-case robustness reported above; the decisive screening offsets ( μ ref + 48 and μ ref − 60 ) remain empirically set regardless of the segmentation method. The contribution of the segmentation stage is its explicit, trainable, reproducible formulation rather than a measurable accuracy or data-efficiency gain over thresholding. A quantitative comparison on the macro-F1 of the three-class local output requires the dense per-cell ground truth discussed in Section 3.11 and is left for the planned annotated benchmark.
Table 12. Feature-ablation analysis for module/background separation (linear discriminant, leave-one-image-out cross-validation, close-range dataset, reference-mask labels).

4.6. Computational Performance

The workflow is computationally light by construction. Each region is described by four scalar features (mean, standard deviation, GLCM contrast and GLCM homogeneity), the segmentation decision is a single linear SVM evaluation, and the local analysis reduces to grid-cell mean computation and threshold comparisons. There is no deep-network inference and no GPU requirement.
Processing time was measured for the segmentation stage on the 21 close-range test images ( 640 × 480 px), using 32 × 32 feature blocks and Gaussian preprocessing ( σ = 2 ), under MATLAB R2024b on a Mac with an Apple M4 processor and 16 GB of RAM (Apple Inc., Cupertino, CA, USA). The mean compute time was 68.0 ms per image (1.43 s for 21 images), corresponding to a throughput of about 15 images per second (14.7 measured); this excludes the disk write of the segmented image. The cost is dominated by the per-block GLCM feature extraction, while the linear-SVM prediction is negligible relative to feature extraction and image input/output. The method is suitable for batch processing of inspection imagery on standard hardware without a GPU.

4.7. Threshold Sensitivity Analysis

Because the classification thresholds in Equation (10) are empirical, a sensitivity analysis was performed to quantify how the reported region shares depend on the two offsets. The adaptive reference intensity μ ref of each image is independent of the offsets, so the offsets were varied while keeping μ ref fixed: the hotspot offset was swept over T hot ∈ [ 12 ,   84 ] (default 48) and the low-intensity offset over T shad ∈ [ 24 ,   96 ] (default 60), and the per-class area shares were recomputed from the same per-cell intensity data used to produce the main results. The sweep uses the close-range test set (Dataset 1) and, for Dataset 2, all 596 UAV images across the five sectors: the segmentation and the adaptive reference are computed once per image and the offsets are then swept over the resulting per-cell deviations. At the default offsets the analysis reproduces the reported main-result shares (9.88%/1.30% high/low for Dataset 1 and 4.54%/5.19% for the full 596-image UAV set), which validates the procedure; the per-sector values recovered at the default offsets also coincide with Table 9. The generating script is included in the open deposit.
Figure 7 and Table 13 show that the class shares change monotonically and substantially with the offsets. Near the default operating point the high-intensity share changes by approximately − 0.40 and − 0.53 percentage points per grayscale level for Dataset 1 and Dataset 2, respectively, and the low-intensity share by − 0.18 and − 0.29 points per level. The two datasets occupy different regions of the sensitivity curves: the UAV high-intensity share lies on a steep segment near the default, falling from 13.83% at T hot = 36 to 4.54% at the default T hot = 48 and to 0.77% at T hot = 60 , whereas the close-range share decreases more gradually (15.66% to 5.85% over the same range). This confirms that the fixed offsets are a compromise that behaves differently across acquisition domains, and that domain-specific or calibrated thresholds—rather than a single hard-coded pair—would improve transferability. The analysis also shows the absence of a wide stable plateau around the chosen values, so the offsets should be reported together with the preprocessing and camera configuration whenever the method is reused.
Figure 7. Sensitivity of the local class shares to the empirical threshold offsets, with μ ref held fixed: (a) high-intensity area share versus T hot ; (b) low-intensity area share versus T shad . Dashed lines mark the default offsets (48 and 60). Shares are means over the analyzed images of each dataset.
Table 13. Mean per-class area share (%) at selected threshold offsets. The default offsets are T hot = 48 and T shad = 60 .
A complementary check varied the grid cell size itself, since for the 640 × 480 close-range images the adaptive grid yields near-pixel ( 2 × 2 ) cells. Recomputing the close-range class shares with progressively coarser cells leaves the result almost unchanged: from 2 × 2 to 32 × 32 px, a sixteen-fold coarsening, the nominal-intensity/high-intensity/low-intensity shares move only from 88.81/9.88/1.30% to 91.30/7.73/0.97% (intermediate sizes 4 × 4 , 8 × 8 and 16 × 16 fall monotonically in between), and the lower-half localization of the high-intensity cells stays at 85–87%. The analysis is insensitive to the exact cell size: the near-pixel grid is a convenience rather than a tuned parameter, and the same class shares are obtained with genuine multi-pixel regions, which is why the stage is described as a local region analysis even though the default cells are small.

5. Discussion

The proposed workflow is a lightweight and interpretable screening approach rather than a replacement for high-capacity deep-learning systems trained on large annotated datasets. It combines module/background segmentation and local pixel-intensity-based interpretation in a transparent pipeline, evaluated on two distinct acquisition domains.
The results across the two datasets are internally consistent and physically plausible. The controlled close-range dataset, in which selected cells were intentionally occluded, produced a substantial high-intensity share (9.88%) with few low-intensity cells (1.30%), whereas the operational UAV dataset, averaged over all 596 images, showed a smaller and more even split—a high-intensity share of 4.54% and a slightly larger low-intensity share of 5.19%. The latter pattern reflects the fixed thresholds and the acquisition conditions rather than a diagnosed plant state: most segmented area falls in the nominal-intensity band, the high-intensity band is small, and the colder frames, inter-cell gaps and minor soiling dominate the low-intensity class. This distribution should not be read as a health assessment of the plant, as it depends on the fixed offsets and on the variable irradiance discussed below. The adaptive reference intensity differed strongly between the two domains (mean μ ref of 131.4 for the close-range module versus 166.9 over the 596 UAV images), yet the class shares remained interpretable in both, which supports the use of an adaptive module-internal reference rather than a fixed global threshold. This observation is in line with Kim et al. [20], who rejected a single global threshold for UAV thermography because measured intensity depends on the sensor-to-object distance.
The method extends the line of SVM- and feature-based PV diagnostics represented by Ali et al. [8], Chen et al. [9], Ahmed et al. [10] and Dunderdale et al. [22]. Those works classify whole images, cells or modules; the present workflow instead uses the SVM for module/background separation and then performs an adaptive local interpretation of the segmented area, which connects the segmentation-and-statistics idea of Montañez et al. [21] with the UAV panel-detection setting of Vega Díaz et al. [14]. Fernando et al. [36] report a medium Gaussian SVM that reached 99.3% accuracy with an 18 s inference time on UAV thermal imagery and outperformed heavier deep-learning models on the accuracy-to-cost ratio, supporting the design choice of a shallow classifier with handcrafted features for UAV-scale thermal screening. Their 18 s figure reflects a different evaluation setup and is not directly comparable to the per-image segmentation time reported in Section 4.6; both point to the low computational cost of shallow classifiers relative to deep models.
Deep-learning and multimodal pipelines remain the strongest performers for large-scale PV inspection. Boubaker et al. [12] reported that deep-learning models outperformed classical machine learning on their datasets, Manno et al. [29] reached near-perfect CNN accuracy under suitable preprocessing, and Bommes et al. [11], Jumaboev et al. [28] and Kuo et al. [13] demonstrated large-scale extraction, semantic segmentation and multimodal defect localization. More recent work confirms this trajectory: Ozturk et al. [37] combined electroluminescence imaging with deep learning for module fault detection and parameter estimation, and Chen et al. [38] released open-source deep crack-segmentation tools. Surveys by Aghaei et al. [17], Thakfan and Bin Salamah [39] and Yang et al. [40], as well as the cost-oriented review of Liu et al. [41], all identify annotation effort, dataset scarcity and limited cross-site generalization as persistent obstacles for deep models, a point also raised in the IR-imaging review of Buerhop et al. [6] and partially addressed by recent open datasets such as those compiled by Chen et al. [42]. The proposed workflow occupies the complementary niche identified by these reviews: a low-data, transparent tool for preliminary screening, threshold setting and triage before a heavier deep-learning system is deployed or when no labelled training set is available.
The operational relevance of local thermal anomalies is supported by independent field studies. Moretón et al. [1] linked hot-spots to module lifetime and proposed acceptance/rejection criteria based on temperature difference, while multi-pronged degradation analyses of real plants by Daher et al. [43,44] show that infrared-detectable hotspots accompany cell-level degradation mechanisms such as corroded interconnections and snail trails. The repeated localization of the maximum-intensity cell in the lower half of the measured module, coinciding with corroded bus-bar regions, is consistent with these observations and suggests that the method can flag regions of potential maintenance interest even though it operates on relative grayscale intensity, subject to the confirmation requirements discussed below.
Several limitations constrain the present results and define the required follow-up work. First, the method uses relative grayscale intensity rather than calibrated temperature; the high-intensity label indicates elevated thermal-image brightness, not a confirmed physical hot-spot, and confirmation requires calibrated thermography, current-voltage characterization or electroluminescence imaging [37,38,44]. Second, the classification thresholds ( μ ref + 48 and μ ref − 60 on the 8-bit scale) were selected empirically and were constant across all processed images; the sensitivity analysis in Section 4.7 shows that the reported shares depend appreciably on these offsets (about − 0.4 to − 0.5 percentage points per grayscale level for the high-intensity share near the operating point) and that the UAV domain in particular sits on a steep part of the curve, so domain-specific calibration of the offsets is advisable before deployment. The reported class shares are threshold-conditioned outputs rather than absolute quantities, and a more robust normalization—for example percentile- or median-absolute-deviation-based offsets relative to the module-internal distribution, or offsets calibrated against radiometric temperature differences—is a natural improvement left for future work. Third, the low-intensity anomaly class is a purely low-brightness class that does not separate physical shading from soiling, colder inactive areas, module-frame effects or residual background; the frame of the PV module, being colder than the active cells, biased this class in the UAV domain despite the exclusion of edge grid cells from the reference. The complementary bright-side artifact also exists: specular reflections of the sky or sun on the module glass can produce locally elevated intensity that mimics a hotspot, as observed for surface contamination on a module frame in the UAV data. Fourth, the close-range dataset is small and was acquired with interfering foreground equipment, which produced the 19.05% unsuccessful-segmentation rate and the moderate segmentation precision (mean IoU 0.640); pixel-level segmentation metrics are reported here only for the close-range domain, and reference masks for the UAV domain together with dense per-cell class labels are still needed to extend the segmentation evaluation to Dataset 2 and to compute a quantitative classification confusion matrix and a classification-level baseline comparison, both of which require dense per-cell labels beyond the segmentation and end-to-end share comparisons already reported. The close-range reference masks were also drawn by a single annotator, which is a further source of systematic error in the pixel-level metrics, most visibly at the module frame. The close-range frames additionally carry visible-light edge fusion (Section 3.2), which is not a neutral property for this evaluation: the fused contours add module, frame and background edges that a raw radiometric thermogram of this sensor class does not resolve, so they sharpen exactly the boundaries the segmentation stage has to find. The close-range segmentation metrics are thus likely optimistic for purely radiometric input as well, and the reported IoU should not be transferred to a raw-thermogram workflow without re-measurement. Dataset 1 also consists of repeated infrared images of a single physical module, imaged in only two positions against an almost identical background, which provides very limited scene diversity; the 70/30 split was performed at the image level, so training and test images can share a very similar scene, module geometry and background, and the close-range segmentation metrics are likely optimistic. A scene- or session-level split, several physical modules imaged against varied backgrounds, and larger datasets are required to establish generalization. Finally, the SVM was trained on specific module types and conditions, so cross-module and cross-climate generalization—a recurring concern in the surveyed literature [17,39,41]—remains to be demonstrated.

6. Conclusions

This paper presented a lightweight and interpretable infrared-image processing workflow for photovoltaic module thermal anomaly screening, a single-module proof-of-concept. The workflow combines linear SVM segmentation of PV-module regions from the background, using four handcrafted grayscale and texture features, with an adaptive grid-based pixel-intensity analysis that labels local regions as nominal-intensity, high-intensity anomaly or low-intensity anomaly relative to an adaptive module-internal reference. The method was evaluated on a controlled close-range dataset of a measured 20 W module (21 test images) and on a public UAV dataset of an operating PV plant (all 596 images across five sectors).
Module/background segmentation succeeded on 61.9% of the close-range images of the single measured module, where interfering foreground equipment limited performance, and on all UAV images, where the consistent nadir geometry was favourable; a feature ablation showed that this segmentation is driven by intensity statistics and performs on par with simple thresholding. The adaptive analysis produced class shares of 88.81%/9.88%/1.30% (nominal-intensity/high-intensity/low-intensity) for the controlled domain with artificially induced defects, and the high-intensity regions localized to the documented lower-half bus-bar defect (a mean of 85% of high-intensity cells), indicating that, on this single module, the method flags regions co-located with the documented defect. The corresponding UAV shares, averaged over all 596 images across five sectors (90.27%/4.54%/5.19%, with the high-intensity share ranging from 2.2% to 7.2% between sectors), illustrate cross-domain application of the workflow—a separate SVM is trained for each domain and only the adaptive-reference concept and the fixed offsets carry over, so the segmentation model itself is not transferred—rather than a validated result, because they are sensitive to the fixed intensity offsets and to the variable irradiance of the partly cloudy acquisition. An end-to-end comparison over the same 596 images showed that replacing the SVM segmentation with Otsu thresholding leaves the high-intensity anomaly share almost unchanged (4.54% versus 4.50%), confirming at the level of the complete pipeline that the SVM behaves like a threshold. For this screening task a simple automatic threshold such as Otsu is a competitive, label-free alternative; the SVM stage is retained for its explicit, auditable rule and more stable worst-case segmentation rather than for greater accuracy or lower data requirements. The single-module, image-level close-range evaluation is likewise optimistic and does not establish generalization.
The practical contribution is a transparent, low-data screening tool that complements rather than replaces high-capacity deep-learning systems, and that is suitable for preliminary triage, threshold setting and inspection scenarios where labelled training data are scarce. It is a relative-intensity thermal screening workflow, not a validated defect-diagnosis or plant-health assessment method: it measures relative image brightness, the two anomaly classes are inspection candidates rather than confirmed faults, and no independent electrical, electroluminescence or radiometric reference was available to verify them. Three limitations bound the reported evidence in particular. The close-range frames were acquired with the camera’s visible-light edge fusion active, so they are fused infrared/visible images whose contours are partly of visible-light origin; this sharpens the boundaries the segmentation stage has to find, and the close-range segmentation metrics are correspondingly optimistic for raw radiometric input. The class shares are threshold-conditioned: the sensitivity analysis shows them changing monotonically with the empirical offsets, with no wide stable plateau around the chosen values. And the localized anomalies are interpreted from brightness alone—the lower-half bus-bar co-location is a suggestive check, not a validated defect confirmation. Its use is correspondingly conditional on controlled, logged acquisition and on re-deriving the intensity offsets for the target camera, palette and operating conditions. For new deployments the reduced two-feature model (mean and standard deviation) is the recommended configuration: the two GLCM descriptors carry no cross-validated benefit while dominating the per-block computational cost, so dropping them shrinks and speeds up the model without loss. A sensitivity analysis of the adaptive intensity thresholds showed that the reported class shares depend appreciably on the empirical offsets and that the two acquisition domains lie on different parts of the sensitivity curves, which motivates domain-specific threshold calibration. Pixel-level segmentation metrics against manually annotated reference masks gave a mean IoU of 0.640 on the close-range dataset, confirming reliable module capture with moderate over-segmentation. Future work will address the remaining limitations: reference masks for the UAV dataset and dense per-cell class labels to extend the segmentation evaluation and to compute a quantitative classification confusion matrix and a classification-level baseline comparison, both of which require dense per-cell labels beyond the segmentation and end-to-end share comparisons already reported; explicit handling of the module-frame effect in the low-intensity class; validation against calibrated temperature, current-voltage measurements or electroluminescence imaging; and an assessment of cross-module and cross-climate generalization.

Author Contributions

Conceptualization, V.S. and Z.Č.; methodology, V.S. and S.B.; software, S.B.; validation, V.S., S.B. and J.Š.; formal analysis, V.S. and S.B.; investigation, S.B.; resources, V.S. and Z.Č.; data curation, S.B.; writing—original draft preparation, V.S. and S.B.; writing—review and editing, V.S., J.Š., M.B., Z.Č., V.Đ. and Z.V.; visualization, S.B. and M.B.; supervision, V.S. and Z.Č.; project administration, V.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Slovak Ministry of Education, Science, Research and Sport of the Slovak Republic and the Slovak Academy of Sciences under grants VEGA 1/0627/24 and 1/0647/26.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The MATLAB and Python implementation of the workflow, the close-range infrared test images, the manually annotated PV-module reference masks and the per-image result tables are openly available in a Zenodo repository at https://doi.org/10.5281/zenodo.20834532 (accessed on 6 August 2026). The UAV infrared images are from the publicly available Roboflow Solar Panel Hotspot Detection dataset [35] and are not redistributed.

Acknowledgments

The authors acknowledge technical and administrative support provided during the preparation of this study. Following the journal policy on artificial-intelligence tools, their use is disclosed as follows. AI-assisted tools (large-language-model assistants) were used for two purposes: (i) language editing of the manuscript text, and (ii) assistance with writing and debugging the data-analysis and figure-generation scripts (the Python and MATLAB code released with the paper). AI tools were not used to acquire or label the infrared images, were not the source of any reported measurement, and were not used to interpret the results or to draw the scientific conclusions. All quantitative results were produced by the released deterministic scripts and were checked by the authors against the source data. No artificial-intelligence tool is listed as an author or co-author, and the authors reviewed and verified all outputs and take full responsibility for the content of this manuscript, including any part produced with the assistance of such tools.

Conflicts of Interest

Author Veljko Đurković was employed by the company Crnogorski elektroprenosni sistem AD Podgorica. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PVPhotovoltaic
IRInfrared
IRTInfrared thermography
aIRTAerial infrared thermography
UAVUnmanned aerial vehicle
RGBRed, green and blue color space
GLCMGray-level co-occurrence matrix
MLMachine learning
DLDeep learning
SVMSupport vector machine
CNNConvolutional neural network
IoUIntersection over union
F1Harmonic mean of precision and recall
SDStandard deviation

References

  1. Moretón, R.; Lorenzo, E.; Narvarte, L. Experimental observations on hot-spots and derived acceptance/rejection criteria. Sol. Energy 2015, 118, 28–40. [Google Scholar] [CrossRef] [Scilit]
  2. Štefko, R.; Čonka, Z.; Kolcun, M.; Jurák, V.; Pálfi, J. Communication Research of Protective Relays for Microgrids and Active Distribution Networks. Przegląd Elektrotechniczny 2023, 99, 232–236. [Google Scholar] [CrossRef] [Scilit]
  3. Beluscak, M.; Merges, R.; Galbavy, M.; Štefko, R.; Bobček, M.; Rákóczi, B.M.; Čonka, Z. Enhanced Fault Detection and Accelerated Switching Methodology in Power Systems Utilizing GOOSE Messaging: Centralized Control Switch Acceleration (CCSA). Acta Polytech. Hung. 2025, 22, 183–201. [Google Scholar] [CrossRef] [Scilit]
  4. Bobček, M.; Štefko, R.; Šimčák, J.; Čonka, Z. A Novel Approach to Day-Ahead Forecasting of Battery Discharge Profiles in Grid Applications Using Historical Daily Data. Batteries 2025, 11, 370. [Google Scholar] [CrossRef] [Scilit]
  5. Talha, H.M.; Rana, A.S.; Shahid, S.; Khan, W.; Naeem, T.; Aslam, M.; Bahajjaj, A.A.A.; Asghar, A.B.; Conka, Z.; Stefko, R. Efficiency Optimization of Quantum Dot Photovoltaic Cell by Solar Thermophotovoltaic System. Nanotechnol. Rev. 2025, 14, 20240139. [Google Scholar] [CrossRef] [Scilit]
  6. Buerhop, C.; Bommes, L.; Schlipf, J.; Pickel, T.; Fladung, A.; Peters, I.M. Infrared imaging of photovoltaic modules: A review of the state of the art and future challenges facing gigawatt photovoltaic power stations. Prog. Energy 2022, 4, 042010. [Google Scholar] [CrossRef] [Scilit]
  7. de Oliveira, A.K.V.; Aghaei, M.; Rüther, R. Automatic Inspection of Photovoltaic Power Plants Using Aerial Infrared Thermography: A Review. Energies 2022, 15, 2055. [Google Scholar] [CrossRef] [Scilit]
  8. Ali, M.U.; Khan, H.F.; Masud, M.; Kallu, K.D.; Zafar, A. A machine learning framework to identify the hotspot in photovoltaic module using infrared thermography. Sol. Energy 2020, 208, 643–651. [Google Scholar] [CrossRef] [Scilit]
  9. Chen, J.; Li, Y.; Ling, Q. Hot-Spot Detection for Thermographic Images of Solar Panels. In Proceedings of the 2020 Chinese Control and Decision Conference (CCDC); IEEE: New York, NY, USA, 2020; pp. 4651–4655. [Google Scholar] [CrossRef] [Scilit]
  10. Ahmed, W.; Ali, M.U.; Hussain, S.J.; Zafar, A.; Al Hasani, S. Visual Vocabulary Based Photovoltaic Health Monitoring System Using Infrared Thermography. IEEE Access 2022, 10, 14409–14417. [Google Scholar] [CrossRef] [Scilit]
  11. Bommes, L.; Pickel, T.; Buerhop-Lutz, C.; Hauch, J.; Brabec, C.; Peters, I.M. Computer vision tool for detection, mapping, and fault classification of photovoltaics modules in aerial IR videos. Prog. Photovolt. Res. Appl. 2021, 29, 1236–1251. [Google Scholar] [CrossRef] [Scilit]
  12. Boubaker, S.; Kamel, S.; Ghazouani, N.; Mellit, A. Assessment of Machine and Deep Learning Approaches for Fault Diagnosis in Photovoltaic Systems Using Infrared Thermography. Remote Sens. 2023, 15, 1686. [Google Scholar] [CrossRef] [Scilit]
  13. Kuo, C.F.J.; Chen, S.H.; Huang, C.Y. Automatic detection, classification and localization of defects in large photovoltaic plants using unmanned aerial vehicles (UAV) based infrared (IR) and RGB imaging. Energy Convers. Manag. 2023, 276, 116495. [Google Scholar] [CrossRef] [Scilit]
  14. Vega Díaz, J.J.; Vlaminck, M.; Lefkaditis, D.; Orjuela Vargas, S.A.; Luong, H. Solar Panel Detection within Complex Backgrounds Using Thermal Images Acquired by UAVs. Sensors 2020, 20, 6219. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Spampinato, C.; Valastro, S.; Calogero, G.; Smecca, E.; Mannino, G.; Arena, V.; Balestrini, R.; Sillo, F.; Ciná, L.; La Magna, A.; et al. Improved radicchio seedling growth under CsPbI3 perovskite rooftop in a laboratory-scale greenhouse for Agrivoltaics application. Nat. Commun. 2025, 16, 2190. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Tanda, G.; Migliazzi, M. Infrared thermography monitoring of solar photovoltaic systems: A comparison between UAV and aircraft remote sensing platforms. Therm. Sci. Eng. Prog. 2023, 38, 102379. [Google Scholar] [CrossRef] [Scilit]
  17. Aghaei, M.; Kolahi, M.; Nedaei, A.; Venkatesh, N.S.; Esmailifar, S.M.; Moradi Sizkouhi, A.M.; Aghamohammadi, A.; de Oliveira, A.K.V.; Eskandari, A.; Parvin, P.; et al. Autonomous Intelligent Monitoring of Photovoltaic Systems: An In-Depth Multidisciplinary Review. Prog. Photovolt. Res. Appl. 2024, 32. [Google Scholar] [CrossRef] [Scilit]
  18. de Oliveira, A.K.V.; Aghaei, M.; Rüther, R. Aerial Infrared Thermography for Low-Cost and Fast Fault Detection in Utility-Scale PV Power Plants. Sol. Energy 2020, 211, 712–724. [Google Scholar] [CrossRef] [Scilit]
  19. Henry, C.; Poudel, S.; Lee, S.W.; Jeong, H. Automatic Detection System of Deteriorated PV Modules Using Drone with Thermal Camera. Appl. Sci. 2020, 10, 3802. [Google Scholar] [CrossRef] [Scilit]
  20. Kim, D.; Youn, J.; Kim, C. Automatic Fault Recognition of Photovoltaic Modules Based on Statistical Analysis of UAV Thermography. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2017, XLII-2/W6, 179–182. [Google Scholar] [CrossRef] [Scilit]
  21. Montañez, L.E.; Valentín-Coronado, L.M.; Moctezuma, D.; Flores, G. Photovoltaic module segmentation and thermal analysis tool from thermal images. In Proceedings of the 2020 IEEE International Autumn Meeting on Power, Electronics and Computing (ROPEC); IEEE: New York, NY, USA, 2020. [Google Scholar] [CrossRef] [Scilit]
  22. Dunderdale, C.; Brettenny, W.; Clohessy, C.; van Dyk, E.E. Photovoltaic defect classification through thermal infrared imaging using a machine learning approach. Prog. Photovolt. Res. Appl. 2020, 28, 177–188. [Google Scholar] [CrossRef] [Scilit]
  23. Liao, K.C.; Lu, J.H. Using UAV to Detect Solar Module Fault Conditions of a Solar Power Farm with IR and Visual Image Analysis. Appl. Sci. 2021, 11, 1835. [Google Scholar] [CrossRef] [Scilit]
  24. Jaffery, Z.A.; Dubey, A.K.; Irshad; Haque, A. Scheme for Predictive Fault Diagnosis in Photo-Voltaic Modules Using Thermal Imaging. Infrared Phys. Technol. 2017, 83, 182–187. [Google Scholar] [CrossRef] [Scilit]
  25. Oulefki, A.; Himeur, Y.; Trongtirakul, T.; Amara, K.; Agaian, S.; Benbelkacem, S.; Guerroudji, M.A.; Zemmouri, M.; Ferhat, S.; Zenati, N.; et al. Detection and analysis of deteriorated areas in solar PV modules using unsupervised sensing algorithms and 3D augmented reality. Heliyon 2024, 10, e27973. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Fernández, A.; Usamentiaga, R.; de Arquer, P.; Fernández, M.Á.; Fernández, D.; Carús, J.L.; Fernández, M. Robust Detection, Classification and Localization of Defects in Large Photovoltaic Plants Based on Unmanned Aerial Vehicles and Infrared Thermography. Appl. Sci. 2020, 10, 5948. [Google Scholar] [CrossRef] [Scilit]
  27. Huerta Herraiz, Á.; Pliego Marugán, A.; García Márquez, F.P. Photovoltaic Plant Condition Monitoring Using Thermal Images Analysis by Convolutional Neural Network-Based Structure. Renew. Energy 2020, 153, 334–348. [Google Scholar] [CrossRef] [Scilit]
  28. Jumaboev, S.; Jurakuziev, D.; Lee, M. Photovoltaics Plant Fault Detection Using Deep Learning Techniques. Remote Sens. 2022, 14, 3728. [Google Scholar] [CrossRef] [Scilit]
  29. Manno, D.; Cipriani, G.; Ciulla, G.; Di Dio, V.; Guarino, S.; Lo Brano, V. Deep learning strategies for automatic fault diagnosis in photovoltaic systems by thermographic images. Energy Convers. Manag. 2021, 241, 114315. [Google Scholar] [CrossRef] [Scilit]
  30. Akram, M.W.; Li, G.; Jin, Y.; Chen, X.; Zhu, C.; Ahmad, A. Automatic Detection of Photovoltaic Module Defects in Infrared Images with Isolated and Develop-Model Transfer Deep Learning. Sol. Energy 2020, 198, 175–186. [Google Scholar] [CrossRef] [Scilit]
  31. Kellil, N.; Aissat, A.; Mellit, A. Fault Diagnosis of Photovoltaic Modules Using Deep Neural Networks and Infrared Images under Algerian Climatic Conditions. Energy 2023, 263, 125902. [Google Scholar] [CrossRef] [Scilit]
  32. Haidari, P.; Hajiahmad, A.; Jafari, A.; Nasiri, A. Deep Learning-Based Model for Fault Classification in Solar Modules Using Infrared Images. Sustain. Energy Technol. Assess. 2022, 52, 102110. [Google Scholar] [CrossRef] [Scilit]
  33. Alves, R.H.F.; de Deus Júnior, G.A.; Marra, E.G.; Lemos, R.P. Automatic Fault Classification in Photovoltaic Modules Using Convolutional Neural Networks. Renew. Energy 2021, 179, 502–516. [Google Scholar] [CrossRef] [Scilit]
  34. Baňački, S. Diagnostické Nástroje pre Detekciu Porúch Fotovoltických Panelov [Diagnostic Tools for Fault Detection in Photovoltaic Panels]. Diploma Thesis, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Košice, Slovakia, 2025. Available online: https://opac.crzp.sk/?fn=detailBiblioForm&sid=2A0855BB69981FFC2E52ED95B010 (accessed on 6 August 2026).
  35. Roboflow. Solar Panel Hotspot Detection Dataset; Roboflow Universe: Des Moines, IA, USA, 2025; Available online: https://universe.roboflow.com/dd-56ld9/solar-panel-hotspot-detection (accessed on 3 April 2025).
  36. Fernando, N.; Seneviratne, L.; Weerasinghe, N.; Rathnayake, N.; Hoshino, Y. Efficient Hotspot Detection in Solar Panels via Computer Vision and Machine Learning. Information 2025, 16, 608. [Google Scholar] [CrossRef] [Scilit]
  37. Ozturk, E.; Ogliari, E.; Sakwa, M.; Dolara, A.; Blasuttigh, N.; Massi Pavan, A. Photovoltaic modules fault detection, power output, and parameter estimation: A deep learning approach based on electroluminescence images. Energy Convers. Manag. 2024, 319, 118866. [Google Scholar] [CrossRef] [Scilit]
  38. Chen, X.; Karin, T.; Libby, C.; Deceglie, M.G.; Hacke, P.; Silverman, T.J.; Jain, A. Automatic Crack Segmentation and Feature Extraction in Electroluminescence Images of Solar Modules. IEEE J. Photovolt. 2023, 13, 334–342. [Google Scholar] [CrossRef] [Scilit]
  39. Thakfan, A.; Bin Salamah, Y. Artificial-Intelligence-Based Detection of Defects and Faults in Photovoltaic Systems: A Survey. Energies 2024, 17, 4807. [Google Scholar] [CrossRef] [Scilit]
  40. Yang, C.; Sun, F.; Zou, Y.; Lv, Z.; Xue, L.; Jiang, C.; Liu, S.; Zhao, B.; Cui, H. A Survey of Photovoltaic Panel Overlay and Fault Detection Methods. Energies 2024, 17, 837. [Google Scholar] [CrossRef] [Scilit]
  41. Liu, Y.; Duran, E.R.; Bruce, A.; Yildiz, B.; Severiano, B.M.; Ibrahim, I.A.; Rispler, J.; Martell, C.; Rougieux, F. A methodological review of cost-effective data-driven fault detection and diagnosis in distributed photovoltaic systems. Appl. Energy 2025, 401, 126636. [Google Scholar] [CrossRef] [Scilit]
  42. Chen, X.; Li, B.; Braid, J.L.; Byford, B.; Colvin, D.J.; Glaws, A.; Jost, N.; Pierce, B.G.; Rabade, S.; Springer, M.; et al. Open data sets for assessing photovoltaic system reliability. Appl. Energy 2025, 395, 126132. [Google Scholar] [CrossRef] [Scilit]
  43. Daher, D.H.; Aghaei, M.; Quansah, D.A.; Adaramola, M.S.; Parvin, P.; Ménézo, C. Multi-pronged degradation analysis of a photovoltaic power plant after 9.5 years of operation under hot desert climatic conditions. Prog. Photovolt. Res. Appl. 2023, 31, 888–907. [Google Scholar] [CrossRef] [Scilit]
  44. Daher, D.H.; Mathieu, A.; Ben Abdallah, A.; Mouhoumed, D.; Logerais, P.O.; Gaillard, L.; Ménézo, C. Photovoltaic failure diagnosis using imaging techniques and electrical characterization. EPJ Photovolt. 2024, 15, 22. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.