Abstract
Automatic reading of analog pointer meters is affected by complex backgrounds, illumination changes, and camera viewpoints. This study implements and evaluates a template-calibrated reading procedure that integrates established detection and image-processing components for fixed-layout analog instruments with instrument-specific pointer segmentation. YOLO localizes the meter, and the detected region is aligned with a manually calibrated template. Illumination-adaptive color segmentation and geometric processing estimate the pointer angle, which is converted to a reading by interpolation between adjacent calibrated angles. Compared with endpoint-based linear mapping, this procedure uses intermediate scale information to represent local angle–value relationships. Relative to approaches requiring dedicated pointer-segmentation or reading-regression networks, its reading stage avoids pixel-level pointer annotations and dedicated network training, while requiring manual template calibration and suitable pointer-segmentation settings. On the 58-image independent real-scene detection test set, YOLO achieved an mAP@0.5 of 99.50% and an mAP@0.5:0.95 of 77.72%. On 58 still images of a single 0–1.6 MPa pressure gauge, the method achieved a mean absolute error (MAE) of 0.0095 MPa, a root-mean-square error of 0.0135 MPa, and a maximum absolute error of 0.0408 MPa relative to manual reference readings. Image-level predictions were matched to the means of 16 supplied manual readings per image. These errors quantify agreement with those means; the variability and unvalidated uncertainty of the manual references preclude interpreting the MAE as equivalent absolute pressure-measurement accuracy. Supplementary evaluation on 26 images of a second pressure gauge and 28 images of a thermometer yielded scale-normalized MAEs of 0.1870% and 0.0787%, respectively, after instrument-specific calibration and segmentation configuration. These evaluation images informed segmentation-parameter selection; the results therefore illustrate reuse after configuration, without establishing generalization to unseen instruments or images.
Funding Information
  • National Natural Science Foundation of China (52405017)
  • Key Research Projects of Higher Education Institutions in Henan Province (25A410001)
  • Key Research and Development Program of Henan Province (252102220008)
  • Science Foundation of Henan University of Technology (2023BS109)