Next Article in Journal
Common Vulnerabilities and Exposure Data Analysis and Visualization: Building Cybersecurity Awareness and Validating Risks
Previous Article in Journal
Optimizing Fleet Composition for Electric Vehicle Integration: A Case Study in the Philippines
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

From Manual to Intelligence: Enhancing Electricity Meter Accuracy Using Computer Vision †

by
Ida Nurhaida
1,2,*,
Muhammad Mughni Firdaus
1 and
Edi Purwanto
2,3
1
Department of Informatics, Faculty of Engineering and Design, Universitas Pembangunan Jaya, Tangerang Selatan 15413, Indonesia
2
Centre of Urban Studies, Universitas Pembangunan Jaya, Tangerang Selatan 15413, Indonesia
3
Department of Management, Faculty of Humanities and Business, Universitas Pembangunan Jaya, Tangerang Selatan 15413, Indonesia
*
Author to whom correspondence should be addressed.
Presented at 2025 IEEE International Conference on Computation, Big-Data and Engineering (ICCBE), Penang, Malaysia, 27–29 June 2025.
Eng. Proc. 2026, 128(1), 30; https://doi.org/10.3390/engproc2026128030
Published: 13 March 2026

Abstract

This article presents a digit detection system for analogue electricity meters using the YOLOv9 algorithm integrated with EasyOCR. One hundred thirty-seven images from Plaza XYZ were used for training and testing, with an accuracy of 89.8%. The system enables real-time detection and export of meter readings, significantly reducing human error and recording time. The user-friendly interface allows technicians to upload images, detect digits, and export results to Microsoft Excel or CSV format. These findings demonstrate the model’s readiness for commercial deployment and advance the development of computer vision applications in energy management.

1. Introduction

Accurate tracking of electricity consumption is essential for effective energy management and billing [1]. In Indonesia, many commercial buildings, including shopping malls, rely on manual methods to record electricity usage using analog electricity meters. Although widely used, this conventional method is vulnerable to human error. Technicians may misread the meter due to inconsistent lighting, fatigue, or visual limitations, resulting in inaccurate records [2]. With growing demands for operational efficiency and precise data, automated solutions driven by computer vision technology are becoming increasingly necessary [3].
Recent developments in AI have made this transition possible. Algorithms, such as You Only Look Once (YOLO), have demonstrated strong capabilities in real-time object detection with high accuracy [4]. This opens an opportunity to apply AI to automate reading electricity meters from images, minimizing the need for human interpretation. Advances in deep learning have significantly improved the performance of computer vision systems, enabling robust object detection and visual recognition in complex environments [5].
Several previous studies have explored machine learning and computer vision for this purpose. Laroca et al. proposed a convolutional neural network–based approach for digit detection and recognition on utility meters using deep learning techniques [6]. Similarly, Zhang et al. developed a computer vision framework for automatic reading of analog meters, demonstrating that deep learning models can achieve high accuracy under various environmental conditions [7]. Other studies have examined how electricity consumption patterns and appliance usage can be detected using smart meter time-series data [8].
Despite these advancements, several limitations remain in existing approaches. Many earlier systems rely on traditional image-processing techniques or earlier deep learning models that may not fully exploit recent improvements in real-time object detection algorithms. Recent developments, such as YOLOv9, introduce programmable gradient information that improves detection accuracy and efficiency [9]. However, system performance under real-world conditions, including lighting variations and device diversity, has not been extensively evaluated [10]. Previous studies on image-based meter reading under unconstrained conditions have also highlighted challenges related to lighting variations, camera angles, and environmental noise [11].
Therefore, to address these challenges, we developed a system that detects and reads data from analog electricity meters using YOLOv9 combined with EasyOCR. EasyOCR is an open-source optical character recognition framework that combines convolutional neural networks and recurrent neural networks for text recognition [12]. The system is evaluated in a real commercial building, Plaza XYZ, to examine its accuracy and feasibility in daily operations. The developed system presents a YOLOv9 digit detection model trained on field data with high accuracy. Second, it demonstrated an efficient, practical end-to-end approach by integrating YOLOv9 with EasyOCR to enable automatic recording of electricity usage. Third, the system benefits commercial building management in Indonesia by reducing human error, improving efficiency, and supporting reliable energy monitoring practices.
The results of this study support the application of AI for energy informatics and serve as a reference for future research and system development.

2. Materials and Methods

2.1. Dataset

The dataset used in this study consisted of 80 images of analogue electricity meters collected from tenant units in Plaza XYZ. These images were obtained from meters manufactured by Fuji Dharma and Metbelosa (Figure 1 and Figure 2). All images were captured using a smartphone camera (Samsung Electronics Co., Ltd., Suwon, Republic of Korea) with a resolution of 2604 by 4624 pixels, under varying lighting conditions and camera angles to reflect real-world scenarios. Image augmentation techniques were applied to enhance dataset diversity and size, resulting in a total of 137 images. The augmented dataset was then divided into two subsets, with 88 percent allocated for training and 12 percent for testing.

2.2. Data Preprocessing

Data preprocessing involved reorientation, resizing to 640 by 640 pixels, autocontrast enhancement, and image augmentation via flipping, rotation, shearing, and exposure adjustment. All preprocessing was conducted using the Roboflow platform (Roboflow Inc., Des Moines, IA, USA). The electricity meter digits were annotated with the label “Digit-kWh” in accordance with the YOLO annotation format (Figure 3).

2.3. Model Architecture

The model used in this study was developed based on YOLOv9, which incorporates essential components to enhance multi-scale object detection (Figure 4). These include the path aggregation network (PAN) for improved feature fusion, reversible columns (RevCol) for computational efficiency and accuracy, and programmable gradient information (PGI) to refine gradient flow during training. The bounding boxes generated by YOLOv9 are processed by EasyOCR, which integrates character-region-aware text detection and a convolutional recurrent neural network (CRNN) for character recognition.

2.4. Training Configuration

Model training was conducted on Google Colaboratory (Google LLC, Mountain View, CA, USA) utilizing a Tesla T4 graphics processing unit (GPU) (NVIDIA Corporation, Santa Clara, CA, USA). The model was trained for 100 epochs with a learning rate of 0.001 and a batch size of 16, using the stochastic gradient descent (SGD) optimizer. The loss function combined localization loss and classification loss to optimize object detection performance.

2.5. Evaluation Metrics

The model’s performance was evaluated using a confusion matrix, with accuracy, precision, and recall as the primary metrics. These metrics were used to assess the balance between correct predictions and errors in digit detection, providing insight into the system’s reliability [11].

2.6. Experiment

Experiments were performed on a Windows 11 system with an Intel i5 processor, 8 gigabytes (GBs) of random-access memory, and a 512 GB solid-state drive. Python 3.10 (Python Software Foundation, Wilmington, DE, USA) was used together with the OpenCV library (OpenCV Foundation, Mountain View, CA, USA), PyTorch 2.10.0 (Meta AI, Menlo Park, CA, USA), and EasyOCR (Jaided AI, Bangkok, Thailand). The user interface was developed using Visual Studio Code 1.64.2 (Microsoft Corporation, Redmond, WA, USA), enabling image upload, digit detection, and data export to CSV or Excel format for further analysis.

3. Results

We implemented a digit-detection application for analogue electricity meters by combining the YOLOv9 object detector with EasyOCR for text recognition. The application allows users to upload meter images, automatically detect and extract the digit regions in real time, and export the results in CSV or Excel for easier storage and analysis. The system accurately detected digits and yielded results consistent with the original image. The results were visualized at each stage. Figure 5 shows the bounding box output identifying the digit regions in the electricity meter image.
Figure 6 shows a modified image for the negative test scenario in which the digits were intentionally removed to evaluate the system’s robustness. When the system fails to detect any digits, Figure 7 displays a warning pop-up with the message “Digit kWh not detected,” demonstrating the system’s ability to provide informative user feedback.
Based on the YOLOv9 algorithm integrated with EasyOCR, the digit detection model for analogue electricity meters was tested using 80 images collected from tenant meters at Plaza XYZ (Figure 8). After preprocessing and data augmentation, the dataset was expanded to 137 images, with 88% used for training and 12% for testing. The training was conducted over 100 epochs using a Google Colaboratory environment equipped with a Tesla T4 GPU. The evaluation results show a detection accuracy of 89.8%, indicating that the model can effectively recognize and read electricity meter digits despite variations in lighting conditions, image distortion, and camera angles.
System performance was evaluated using a confusion matrix to calculate accuracy, precision, and recall, as Table 1. The results demonstrate high levels of both precision and recall, indicating the model’s strong ability to make accurate predictions while capturing most of the actual digits. Most prediction errors occurred in cases with low contrast or tilted images due to suboptimal camera positioning.
In addition to quantitative evaluation, qualitative results were visualized through a user interface designed to assist technicians in recording. The interface allows users to upload electricity meter images, run the digit detection process, and export the results to CSV or Microsoft Excel formats (Figure 9 and Figure 10). When detection was successful, the system displayed coloured bounding boxes around the electricity meter digits and converted them into numeric values. Conversely, if the system fails to detect digits, a pop-up notification alerts the user to retake the image.
Comparison with manual recording methods shows that the computer vision-based system significantly reduces the potential for human error and improves time efficiency. Test results demonstrated reduced recording time per meter unit and increased consistency in the results, even under varying lighting conditions. The results of this study confirm that the application of YOLOv9 improves digit detection accuracy compared with traditional methods and offers operational efficiency and readiness for adoption in other commercial buildings with minimal dataset adjustments.

4. Discussion

The model demonstrated the effectiveness of a digit detection system for analogue electricity meters using YOLOv9 integrated with EasyOCR, achieving an accuracy of 89.8% under real-world conditions at Plaza XYZ. The results highlight the advantages of YOLOv9’s architecture, particularly features such as the PAN and reversible columns, which enhance the detection of multi-digit objects under varying scales and lighting conditions. Similar computer vision–based recognition approaches have also been successfully applied in other domains such as automatic license plate recognition [13]. Integration with EasyOCR further strengthened system performance by enabling direct conversion of detected digits into numerical values for recording and billing. The results of this study showed that YOLOv9 is applicable in analogue meter digit detection in energy management using computer vision. Practically, the model reduces human error, improves technician efficiency, and accelerates billing processes. It also offers a deployable solution for commercial and industrial facilities that continue to rely on analogue meters, supporting Indonesia’s transition toward digital energy management.
Despite these contributions, several limitations must be acknowledged. The dataset size was relatively small (80 images augmented to 137), potentially limiting generalizability. Testing was restricted to two analogue meter brands, Fuji Dharma and Metbelosa, and conducted in a controlled environment, which may not fully reflect field conditions such as extreme lighting, damaged meters, or non-standard installations. Therefore, it is required to expand the dataset to include diverse meter brands and environmental conditions, explore AI-based image enhancement or adaptive preprocessing to improve accuracy in challenging settings, and validate the system across larger industrial environments. Integrating predictive modules for energy consumption could further advance the transition toward smart energy management systems.

5. Conclusions

We developed and evaluated a digit detection system for analogue electricity meters using YOLOv9 integrated with EasyOCR, achieving an accuracy of 89.8% under real-world conditions at Plaza XYZ. The results demonstrate that the computer vision-based approach improves the accuracy and efficiency of electricity consumption recording, replacing manual methods prone to error. In a deployable model for the commercial sector in Indonesia, the latest YOLO model was applied. The system accelerates digital energy management and reduces operational costs through automated recording. Future studies are necessary to expand the dataset, validate the model in larger industrial environments, and integrate energy consumption prediction modules to support the transition toward smart energy management systems.

Author Contributions

Conceptualization, I.N. and E.P.; methodology, I.N.; software, M.M.F.; validation, I.N. and M.M.F.; formal analysis, I.N. and E.P.; investigation, M.M.F.; resources, E.P.; data curation, M.M.F.; writing—original draft preparation, M.M.F.; writing—review and editing, I.N. and E.P.; visualization, M.M.F.; supervision, I.N.; project administration, I.N.; funding acquisition, I.N. and E.P. All authors have read and agreed to the published version of the manuscript.

Funding

The Article Processing Charge (APC) was funded by the Center for Research and Community Service (LPPM), Universitas Pembangunan Jaya, Indonesia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available from the corresponding author upon reasonable request. The data is not publicly available due to institutional and private considerations related to the data collection site.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Naimah, K.; Arirohman, I.D.; Zen, M.R.; Wicaksono, R.M.; Soelami, F.X.N.; Rahmatullah, A.; Purba, L.D.; Gaol, J.E.L. Analysis of Electrical Energy Consumption in Office Buildings of the Institute Technology of Sumatra in Energy Conservation and Efficiency Efforts. J. Edukasi Elektro 2023, 7, 181–194. [Google Scholar] [CrossRef]
  2. Thomas, B.; Babu, B.K.; Sunny, F.; Mathew, J.K.; Chandran, E.J. Automatic Meter Reading Using Power Line Communication. Int. J. Sci. Technol. Eng. 2016, 2, 815–818. [Google Scholar]
  3. Spichkova, M.; van Zyl, J. Application of Computer Vision Technologies for Automated Utility Meters Reading. In Proceedings of the 15th International Conference on Software Technologies ICSOFT, Online, 7–9 July 2020; 2020; Volume 1, pp. 521–528. [Google Scholar] [CrossRef]
  4. Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2016; pp. 779–788. [Google Scholar]
  5. Khan, S.; Naseer, M.; Hayat, M.; Zamir, S.W.; Khan, F.S.; Shah, M. Transformers in Vision: A Survey. ACM Comput. Surv. 2022, 54, 1–41. [Google Scholar] [CrossRef]
  6. Chen, L.; Liu, Y.; Zhao, Y.; Zhang, H. Mining Automatic Meter Reading System Based on Deep Learning and Computer Vision. Appl. Sci. 2024, 14, 10949. [Google Scholar] [CrossRef]
  7. Zhang, Z.; Wang, F.; Liu, H.; Li, Z. Automatic Reading of Analog Meters Using Computer Vision and Deep Learning. IEEE Access 2019, 7, 169916–169928. [Google Scholar]
  8. Petralia, A.; Charpentier, P.; Boniol, P.; Palpanas, T. Appliance Detection Using Very Low-Frequency Smart Meter Time Series. In Proceedings of the 14th ACM International Conference on Future Energy Systems (e-Energy ‘23); Association for Computing Machinery: New York, NY, USA, 2023; pp. 214–225. [Google Scholar] [CrossRef]
  9. Wang, C.Y.; Yeh, I.H.; Mark Liao, H.Y. YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information. In Computer Vision–ECCV 2024; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2025; pp. 1–21. [Google Scholar] [CrossRef]
  10. Salomon, G.; Laroca, R.; Menotti, D. Image-Based Automatic Dial Meter Reading in Unconstrained Scenarios. Meas. J. Int. Meas. Confed. 2022, 204, 112025. [Google Scholar] [CrossRef]
  11. Rahayu, W.I.; Prianto, C.; Novia, E.A. Perbandingan Algoritma K-Means dan Naive Bayes untuk Memprediksi Prioritas Pembayaran Tagihan Rumah Sakit Berdasarkan Tingkat Kepentingan pada PT. Pertamina (Persero) [Comparison of K-Means and Naïve Bayes Algorithms to Predict Hospital Bill Payment Priorities]. J. Tek. Inform. 2021, 13, 1–8. [Google Scholar]
  12. Hossain, M.A.; Afrin, S. Optical Character Recognition Based on Template Matching. Glob. J. Comput. Sci. Technol. 2019, 19, 31–35. [Google Scholar] [CrossRef]
  13. Du, S.; Ibrahim, M.; Shehata, M.; Badawy, W. Automatic License Plate Recognition: A State-of-the-Art Review. IEEE Trans. Circuits Syst. Video Technol. 2013, 23, 311–325. [Google Scholar] [CrossRef]
Figure 1. Sample image of an analog electricity meter from the Fuji Dharma brand to be annotated with digit labels (Digit-kWh).
Figure 1. Sample image of an analog electricity meter from the Fuji Dharma brand to be annotated with digit labels (Digit-kWh).
Engproc 128 00030 g001
Figure 2. Sample image of an analog electricity meter from the Metbelosa brand to be annotated with digit labels (Digit-kWh).
Figure 2. Sample image of an analog electricity meter from the Metbelosa brand to be annotated with digit labels (Digit-kWh).
Engproc 128 00030 g002
Figure 3. Resized the electricity meter image after applying 640 by 640 pixel preprocessing.
Figure 3. Resized the electricity meter image after applying 640 by 640 pixel preprocessing.
Engproc 128 00030 g003
Figure 4. YOLOv9 architecture (https://docs.ultralytics.com/models/yolov9, accessed 2 June 2025).
Figure 4. YOLOv9 architecture (https://docs.ultralytics.com/models/yolov9, accessed 2 June 2025).
Engproc 128 00030 g004
Figure 5. Results of bounding box detection and extracted text output.
Figure 5. Results of bounding box detection and extracted text output.
Engproc 128 00030 g005
Figure 6. A modified image with removed electricity meter digits for robustness testing.
Figure 6. A modified image with removed electricity meter digits for robustness testing.
Engproc 128 00030 g006
Figure 7. A pop-up alert displayed when the system fails to detect any digits.
Figure 7. A pop-up alert displayed when the system fails to detect any digits.
Engproc 128 00030 g007
Figure 8. System interface showing successful detection of electricity meter digits.
Figure 8. System interface showing successful detection of electricity meter digits.
Engproc 128 00030 g008
Figure 9. Pop-up notification indicating successful export of data to a CSV file.
Figure 9. Pop-up notification indicating successful export of data to a CSV file.
Engproc 128 00030 g009
Figure 10. Display of digit data successfully exported to a Microsoft Excel file.
Figure 10. Display of digit data successfully exported to a Microsoft Excel file.
Engproc 128 00030 g010
Table 1. Metrics based on the confusion matrix.
Table 1. Metrics based on the confusion matrix.
MetricCalculationResult (%)
Accuracy 29 + 33 29 + 33 + 7 + 0 = 62 69 = 0.8986 89.8%
Precision 29 21 + 7 = 29 36 = 0.8056 80.5%
Recall 29 29 + 0 = 29 29 = 1 100%
F1-score 2   0.8056 × 1 0.8056 + 1 = 2 × 0.8056 1.8056 = 0.8929 89.2%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Nurhaida, I.; Firdaus, M.M.; Purwanto, E. From Manual to Intelligence: Enhancing Electricity Meter Accuracy Using Computer Vision. Eng. Proc. 2026, 128, 30. https://doi.org/10.3390/engproc2026128030

AMA Style

Nurhaida I, Firdaus MM, Purwanto E. From Manual to Intelligence: Enhancing Electricity Meter Accuracy Using Computer Vision. Engineering Proceedings. 2026; 128(1):30. https://doi.org/10.3390/engproc2026128030

Chicago/Turabian Style

Nurhaida, Ida, Muhammad Mughni Firdaus, and Edi Purwanto. 2026. "From Manual to Intelligence: Enhancing Electricity Meter Accuracy Using Computer Vision" Engineering Proceedings 128, no. 1: 30. https://doi.org/10.3390/engproc2026128030

APA Style

Nurhaida, I., Firdaus, M. M., & Purwanto, E. (2026). From Manual to Intelligence: Enhancing Electricity Meter Accuracy Using Computer Vision. Engineering Proceedings, 128(1), 30. https://doi.org/10.3390/engproc2026128030

Article Metrics

Back to TopTop