Substation meter detection and recognition method based on lightweight deep learning model

With the advancement of robotics, intelligent robots are widely used in substation inspections. In view of the problem that the parameters of the deep learning model are too large, and the performance of embedded devices is limited, this paper proposes a meter detection and recognition method based on a lightweight deep learning model, which provides support for deploying the model to the substation intelligent inspection robot. First perform target detection on the input image to detect the position frame of the dashboard; then extract the target area, perform semantic segmentation in the target area, segment the mask of the pointer and scale, and convert the mask into two-dimensional by scanning the image is converted into a one-dimensional array, and the position of the pointer and scale is predicted through peak detection, and finally the scale is calculated according to the scale and range. The invention applies the lightweight method of runing and knowledge distillation based on the YOLOv7-tiny model in the target detection stage, so that the model is greatly compressed while maintaining the prediction accuracy; in the semantic segmentation stage, a lightweight method based on depth-wise separable convolution is used. The lightweight U2NetP model replaces the U2Net model, which greatly reduces the amount of model parameters. The experimental results show that the lightweight method used in this paper can compress the original YOLOv7-tiny model by 95.7%, the average accuracy rate can reach 90.5%, the original U2NetP model can be compressed by 76.8%, the average IOU can reach 88.7%, and the average pixel accuracy rate can reach 99.4%.