Abstract:To address the problems of large manual reading errors and low recognition accuracy in digital meter reading, this paper proposes an improved YOLOv8n-based automatic recognition algorithm for digital instruments. In the network structure, the SCConv module is embedded into the C2f blocks of the backbone to enhance the feature extraction capability in both spatial and channel dimensions, thereby improving the perception of fine-grained targets and edge details. Meanwhile, the original SPPF module is replaced with the Focal Modulation structure, which achieves efficient fusion of local and global features through hierarchical contextualization and gated aggregation mechanisms, thus enhancing detection accuracy and feature representation capability. In terms of the loss function, the CIoU loss is replaced by EIoU loss to accelerate the convergence of bounding box regression and improve localization precision. Experimental results show that the proposed method improves the mAP@0.5 by 1.5% compared with the original YOLOv8n model on a self-built meter dataset, with the accuracy of the decimal point class increasing by 14.3%. These results demonstrate the effectiveness and superiority of the proposed algorithm in digital meter reading tasks.