The invention relates to the technical field of target detection, in particular to a photovoltaic panel detection method and
system based on
machine vision, and the method comprises the following steps: obtaining the displacement data of a photovoltaic panel
cell, calculating the displacement gradient of a connection point, dividing a rigid region and a non-rigid region, generating a deformation
classification result, and constructing a global deformation field. Generating a
time sequence deformation trend matrix; calculating a displacement mean value of a bracket fixing point; adjusting a deformation compensation parameter; generating an adaptive compensation parameter, adjusting a
welding point position, calculating an abnormal region
Euclidean distance, and generating a defect matching identification result. According to the method, rigid and non-rigid areas are accurately divided by calculating the displacement gradient of a connection point, a global deformation field is constructed in combination with the displacement change of a feature point, trend continuity is ensured, a compensation parameter is adjusted by utilizing a fixed point displacement mean value, a deformation increment factor is calculated, the weight and stability are corrected, the position of a
welding point is adjusted, and inverse deformation correction is optimized. The
Euclidean distance is combined to match defects, so that the detection precision and stability are improved.