Abstract
Power-equipment fault detection is challenging in real-world inspections due to subtle defect cues and cluttered backgrounds. This paper proposes an improved YOLOv12-based framework for multi-class power defect detection. We introduce a Prior-Guided Region Attention (PG-RA) module and design a Lightweight Residual Efficient Layer Aggregation Network (LR-RELAN). In addition, we develop a Dual-Spectrum Adaptive Fusion Loss (DSAF Loss) function to jointly improve classification confidence and bounding box regression consistency, enabling more robust learning under complex scenes. To support defect-oriented visual analytics and system interpretability, the framework further constructs Region of Interest (ROI) pseudo point clouds from detection outputs and compares two denoising strategies, Statistical Outlier Removal (SOR) and Radius Outlier Removal (ROR). A Python-based graphical prototype integrates image import, defect detection, ROI pseudo point cloud construction, denoising, 3D visualization, and result archiving into a unified workflow. Experimental results demonstrate that the proposed method improves detection accuracy and robustness while maintaining real-time performance, and the ROI pseudo point cloud module provides an intuitive auxiliary view for defect-structure inspection in practical applications.