AbstractThe presented paper proposes a photovoltaic module hot spot detection algorithm based on YOLOv8‐BCB. The algorithm addresses issues such as component efficiency degradation and poor contact in long‐term operation of PV systems, with a focus on the hot spot effect’. To achieve rapid detection and localization of small targets in complex scenes, the algorithm incorporates the Weighted Bi‐directional Feature Pyramid Network (BiFPN) into YOLOv8. Additionally, a lightweight upsampling operator called Content‐Aware ReAssembly of FEatures (CARAFE) is used to reduce the detection load on the unmanned aerial vehicle (UAV) detection system. The BiFormer attention mechanism is also integrated into the C2f module to better capture dependencies between sequences and reduce background interference. To highlight the superiority of the authors’ algorithm compared to other high‐quality algorithms, the authors conducted comparative experiments on the same dataset. The YOLOv8‐BCB algorithm surpasses the SSD, faster‐cnn, and RetinaNet algorithms in both accuracy and detection speed. It achieves a precision of 97.1% and a recall rate of 94.9%, with an FPS of 110. The result is a target detection algorithm that is both fast and accurate.