Implementation of a web-based energy consumption system using Python and Tesseract OCR algorithms
DOI:
https://doi.org/10.33216/1998-7927-2026-304-6-73-81Keywords:
web system, optical character recognition, data analysisAbstract
As the cost of utilities (gas heating, electricity, and water supply) continues to rise, effective monitoring of utility costs has become critically important for ordinary citizens. Modern web-based utility expense monitoring systems are driven by key economic factors that reflect societal and technological needs and allow users to visualize and analyze their monthly expenses, monitor resource consumption in real time, and compare their own consumption with average figures or previous periods, thereby encouraging energy efficiency. Implementing such systems in a web-based format ensures access to monitoring information and minimizes manual data entry by automating report generation, which encourages utility consumers to be thrifty and adopt energy-saving habits and technologies, thereby contributing to the country’s overall energy efficiency.The aim of this study is to examine the characteristics of the software implementation of a functional web-based system that will provide end users with an effective tool for visualizing and transforming visual data, as well as analyzing and monitoring utility costs, with the goal of improving financial literacyюThe study consists of two phases. In the first phase, the back-en.d component was developed, and the API and business logic of the web system were implemented. In the second phase, the effectiveness of the implemented approach was evaluated with a view to the further implementation of a web system for monitoring utility costs in individual households.A functional web system has been developed that enables effective monitoring of utility costs by converting visual data from a home network of smart cameras into digital readings using OCR (Optical Character Recognition) technology based on the Tesseract engine, with the aim of further monitoring energy consumption. All components of the backend software implementation have been described and annotated to facilitate a better understanding of their use.The system for collecting monitoring data from a network of smart cameras at key locations within an apartment has been examined in detail. The back-end component of the web system’s API has been designed and implemented based on the processing of incoming visual data using the Tesseract OCR engine. The system’s functionality has been tested, and an evaluation of the effectiveness of the implemented monitoring data management approach has been conducted, enabling the convenient automatic collection of consumption meter readings from hard-to-reach locations in the household in the future.
References
1. Spichkova M. Comparison of Computer Vision Approaches in Application to the Electricity and Gas Meter Reading / Maria Spichkova, Johan van Zyl, Siddharth Sachdev, Ashish Bhardwaj // Communications in Computer and Information Science. 2020. DOI: https://doi.org/10.1007/978-3-030-40223-5_15.
2. Spichkova M. Application of Computer Vision Technologies for Automated Utility Meters Reading / Maria Spichkova, Johan van Zyl // In Proceedings of the 15th International Conference on Software Technologies (ICSOFT 2020). 2020. P. 521-528. URL: https://www.scitepress.org/Papers/2020/98925/98925.pdf.
3. Dergachov K. Development of tools for information protection of optical text recognition systems / Konstantin Dergachov, Leonid Krasnov, Vladislav Bilozerskyi, Anatolii Zymovin // Radioelectronic and Computer Systems. 2022. No 2. P. 159-177. DOI: https://doi.org/10.32620/reks.2022.2.13.
4. Gayer A. Real-time automatic water meters recognition on edge devices / Alexander Gayer, Vladimir Arlazarov / In: Eighteenth International Conference on Machine Vision (ICMV 2025). 2026. P. 37-44. URL: https://www.deepdyve.com/lp/spie/real-time-automatic-water-meters-recognition-on-edge-devices-Xn0BP6Oatt.
5. Amudha J. Wild OCR: Deep Learning Architecture for Text Recognition in Images / Amudha Joseph, Manmohan Singh Thakur, Anupriya Shrivastava, Shubham Gupta // In: Proceedings of International Conference on Computing and Communication Networks. 2022. Vol 394. P. 499-506 DOI: https://doi.org/10.1007/978-981-19-0604-6_46.
6. R. S., R R. Gandhi. Smart Measuring Device for Power with Digital Debiting System Using Mobile Application Tool / Rajesh Sharma Rajendran, Rajiv Gandhi, Akey Sungheetha, Chinnaiyan Ramasubramanian // 2024 4th International Conference on Innovative Practices in Technology and Management (ICIPTM), Noida, India. 2024. P. 1-6. URL: https://www.researchgate.net/publication/381680978_Smart_Measuring_Device_for_Power_with_Digital_Debiting_System_Using_Mobile_Application_Tool.
7. Lubis F. Erna Budhiarti Nababan, Pauzi Ibrahim Nainggolan, et al. Integrated Smart Parking System Using Internet of Things (IoT) and Digital Image Processing with Faster Region Based Convolutional Neural Network (Faster R-CNN) and Optical Character Recognition (OCR) / Fahrurrozi Lubis, Erna Nababan, Pauzi Ibrahim Nainggolan, Mohammad Fadly Syahputra University of North Sumatra // 2024 8th International Conference on Electrical, Telecommunication and Computer Engineering (ELTICOM), Medan, Indonesia. 2024. P. 342-348. DOI: https://doi.org/10.1109/elticom64085.2024.10864954.
8. Ramos J. Sistema Inteligente de Adquisición de Datos para la Monitorización de Tensión Eléctrica Mediante Redes Neuronales / Josnier Ramos Guardarrama, Maykop Pérez Martínez, Orestes Hernández, Raimundo Silvério // Revista Politécnica. 2025. Vol. 56, No 1. P. 95–104. DOI: https://doi.org/10.33333/rp.vol56n1.08.
9. Fajrianti E. A Proposal of OCR-based User Positioning Method in Indoor Navigation System Using Unityand Smartphone /Evianita Dewi Fajrianti, Nobuo Funabiki, Amma Liesvarastranta Haz, Sritrusta Sukaridhoto (INSUS) // ICNCC '23: Proceedings of the 2023 12th International Conference on Networks, Communication and Computing. 2023. P. 99–105. URL: https://dl.acm.org/doi/pdf/10.1145/3638837.3638852.
10. Morkun V.S. Development of a method for studying traffic of multiservice networks / Morkun V.S., Hryshchenko S. M., Nizhehorodtsev V.O., Filonenko M.M., Lagovsky V.V. // Radio Electronics, Computer Science, Control. 2023. No 2. Р.125-133. DOI: https:// https://doi.org/10.15588/1607-3274-2023-2-13.
11. Ktari J. Lightweight AI Framework for Industry 4.0 Case Study: Water Meter Recognition / Ktari, Jalel, Tarek Frikha, Monia Hamdi, Hela Elmannai, and Habib Hmam // Big Data and Cognitive Computing 6. 2022. Vol. 6. No 3. P. 72. URL: https://www.researchgate.net/publication/361713665_Lightweight_AI_Framework_for_Industry_40_Case_Study_Water_Meter_Recognition.
12. Sultana U. Smart OCR Application for Meter Reading / Sultana, Umbrin & Bilal, Sannad & Naqvi, Syed & Iqbal, Rafay // Engineering Proceedings. 2022. Vol. 20. No 25. DOI: https://doi.org/10.3390/engproc2022020025.
13. Konovalenko S., Krasenko, A., Sezonchyk, S., Bilous, I., Trunova, E.. An Interactive System for Monitoring the State of Urban Infrastructure / Konovalenko S., Krasenko, A., Sezonchyk, S., Bilous, I., Trunova, E // In: Information Technology for Education, Science, and Technics. ITEST 2024. Lecture Notes on Data Engineering and Communications Technologies. Springer, Cham. 2024. Vol 221. URL: https://www.researchgate.net/publication/384577491_An_Interactive_System_for_Monitoring_the_State_of_Urban_Infrastructure.
14. Varghese L. J. IOT Based Smart Water Meter and Electricity Meter for Domestic Utilities / L. J. Varghese, V. Devanath, V. Kishore and R. Poornima // 2025 IEEE International Conference on Intelligent Signal Processing and Effective Communication Technologies (INSPECT), Gwalior, India. 2025. P. 1-6. URL : https://www.researchgate.net/publication/400198710_IOT_Based_Smart_Water_Meter_and_Electricity_Meter_for_Domestic_Utilities.
