In order to detect the status of power equipment from infrared transmission line images under the spatial positioning relationship of the transmission line equipment, such as corridor, substation equipment, and facilities, this paper presents an improved PCNN model which merges an optimized parameter setting method. In this PCNN model, the original iteration mechanism is abandoned, and instead, the thresholding model is built by the maximum similarity thresholding rule. To ensure similarity during classifying neighboring neurons into cluster centers, a local clustering strategy is used for setting the linking coefficient, thus improving the efficiency of the method to detect the power equipment in infrared transmission line images. Finally, experimental results on transmission line infrared images show that the proposed method can provide the basis for the diagnosis of power equipment, preventing the casualties and property damage caused by the thermal damage of power equipment, and effectively improving the safety risk identification and operation control ability of power grid engineering.