نظام ذكي لقراءة العدادات التناظرية باستخدام الذكاء الاصطناعي
Smart Analog Meter Reader with YOLO and Gemini AI
A real-time AI-powered system that automatically detects analog meters using
YOLO and interprets their numeric readings using Google Gemini AI. The system
includes a Flask-based web dashboard for live monitoring, visualization,
and optional video recording.
Project Overview
The Smart Analog Meter Reader bridges the gap between traditional analog
instruments and modern digital systems. By combining real-time object
detection with AI-based vision interpretation, the system automatically
extracts meter readings from video feeds and displays them live through a
web dashboard, eliminating manual data entry and reducing human error.
Key Features
YOLO-Based Meter Detection
- 🔍 Detects analog meters in real-time from live video feeds.
- ⚡ High-precision localization using a trained YOLO model.
Gemini AI Numeric Interpretation
- 🧠 Sends cropped meter images to Google Gemini AI.
- 🔢 Automatically extracts and interprets numeric readings.
Flask Web Dashboard
- 🖥️ Live video streaming with overlayed meter readings.
- 🎛️ Control buttons for monitoring and recording.
Auto-Save & Recording System
- 💾 Saves cropped meter images with extracted values.
- 🎥 Optionally records annotated video footage for review.
Asynchronous Processing
- 🧵 Background thread processing for smooth real-time performance.
- 🚀 Prevents lag during detection, reading, and streaming.
Technology Stack
- 🐍 Programming Language: Python
- 🎥 Computer Vision: OpenCV
- 🧠 Object Detection: YOLO (Ultralytics)
- 🤖 AI Vision Model: Google Gemini AI
- 🌐 Web Framework: Flask
- 🧵 Performance Optimization: Multithreading
Use Cases
- ⚙️ Industrial Meter Monitoring – Pressure & temperature gauges.
- 🏠 Smart Homes – Water, gas, and electricity meter reading.
- 🧪 Research Labs – Automated logging of experiment readings.
- 🏢 Utility Companies – Digitizing field meter data.
- 📊 Automation Projects – Integrating analog data into dashboards.
Conclusion
The Smart Analog Meter Reader with YOLO and Gemini AI provides a powerful and
modern solution for automated analog data acquisition. By combining real-time
detection, AI-based number recognition, and an intuitive web interface, this
system enables accurate, scalable, and efficient digitization of analog
meter readings.