Home

Awesome

<span style="color: red;">This code is depreciated and will not be maintained any more!</span>

water-meter-measurement-system


Update 04.09.2020: There is an update version available, which is more compact on the hardware side and much easier from software side, because it is an all in one device. It does not need a docker container for image analysis any more as everything, including a web based configuration server is running on the ESP32

Software: https://github.com/jomjol/AI-on-the-edge-device/wiki

Hardware: https://www.thingiverse.com/thing:4573481


This is an overview of different project part to digitalize an analog water meter and use it for a house automatization system to controll the water consumption.

UPDATE: new Version for ESP32-CAM available on Thingiverse - much easyier and cheaper due to integrated camera and illumination https://www.thingiverse.com/thing:3860911

Overview

The system consists of a hardware fixture and and successiv software code to transform this finally to a measurement value for a database input.

<img src="./images/overview_ESP32-CAM.jpg">

To get an running system one needs 3 components:

ComponentPurposeLink
1. Mechanical FixtureHardware components to fix a camera and illumination on a water meterVersion for ESP32-CAM<br> Version for ESP8266 + ArduCAM
2. Taking picturesESP8266 based html server to provide pictures from the camerahttps://github.com/jomjol/water-meter-picture-provider
3. Server for data processing and evaluationImage processing (Cutting, OCR, ...) to extract the needed featureshttps://github.com/jomjol/water-meter-system-complete

The server is also as Docker-Container available for easy implementation:

Additional discussion with user experience

Extended user discussion can be found in the following forum: https://forum.iobroker.net/topic/23577/wasserzähler-selfmade

Details on image processing and signal chain within the server:

ComponentUsageLink
Alignment and decompositionImage processing with OpenCV library to extract the needed featureshttps://github.com/jomjol/water-meter-image-cut
OCR for full digitsUsage for OCR to extract the m³ part of the water meterhttps://github.com/jomjol/neural-network-digital-counter-readout
Analog to Digital ReadoutUsage of a Neural Network to digitalize analog pointershttps://github.com/jomjol/neural-network-analog-needle-readout