Coder Social home page Coder Social logo

digitization_of_analog_flow_meter's Introduction

Digitization of Analog Flow Meter

This project involves the creation of a water meter reading system using YOLOv8 for training, a Raspberry Pi for image capture, and a data processing pipeline that saves readings in a JSON file, which are then converted to a CSV file.

Table of Contents

  1. Project Overview
  2. Hardware Requirements
  3. Software Requirements
  4. Installation
  5. Usage
  6. Data Processing
  7. Results
  8. License

Project Overview

The water meter reading system is designed to automate the process of collecting and storing water meter readings. The system utilizes a Raspberry Pi to capture images of the water meter, which are then processed using a YOLOv8 model to detect and read the meter values. The readings are saved in a JSON file and later converted to a CSV file for further analysis.

System Overview

Hardware Requirements

  • Raspberry Pi (any version with a camera module)
  • Water meter with a visible dial or digital display
  • Power supply for Raspberry Pi
  • MicroSD card for Raspberry Pi (minimum 16GB)

Software Requirements

  • Raspberry Pi OS (Raspbian)
  • Python 3.x
  • TensorFlow 2.x
  • OpenCV
  • YOLOv8

Installation

  1. Install Raspberry Pi OS on your Raspberry Pi.
  2. Install Python 3.x and the required packages:
pip install ultralytics pathlib json csv
  1. Clone this repository and navigate to the project directory:
https://github.com/gauravdesale8/water_meter_reading.git
cd water_meter_reading
  1. Follow the instructions in the YOLOv8 repository to download the pre-trained weights and configure the model for water meter detection.

Usage

  1. Connect the Raspberry Pi camera module to your Raspberry Pi.
  2. Position the camera to capture clear images of the water meter.
  3. Run the main.py script to begin the detections:
python main.py
  1. The script will automatically detect and preprocess the images using the YOLOv8 model.
  2. The detected readings will be saved in a JSON file.

Data Processing

  1. After capturing and processing the images, the main.py to convert the JSON file to a CSV file:

  2. The CSV file can be opened and analyzed using any spreadsheet software, such as Microsoft Excel or Google Sheets.

Results

The water meter reading system provides accurate and reliable readings, making it an ideal solution for automating the process of collecting and storing water meter data. The system can be further customized and optimized to suit specific requirements and use cases.

License

This project is licensed under the MIT License.

digitization_of_analog_flow_meter's People

Contributors

gauravdesale8 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.