Skip to content
/ toloka Public

This project contains code including an app to detect water meter readings from mechanical water meters

Notifications You must be signed in to change notification settings

sl2902/toloka

Repository files navigation

Water meter reader

This dataset, collected by Roman Kucev from TrainingData.ru, contains 1244 images of hot and cold water meters as well as their readings and coordinates of the displays showing those readings. Each image contains exactly one water meter. The archive also includes the pictures of the results of segmentation with the masks and collages. Toloka was used for photo capturing, segmentation, and recognizing the readings.

The dataset is from Toloka

Objective

The goal is to build a water meter reader

Dataset preparation

Label Studio was used for annotating the readings.

Training

Yolov5 was used for object detection

I annotated around 400 images, but you could do with less provided you increase the epochs. Initially I only used 50 epochs which was inadequate as the image quality is poor. In the end, I used 300 epochs which took about 2 hours to train. The mAP@0.5 was around 55%, and the overall accuracy on the validation set was around 65%. Colab was used for training and inference.

This could be further improved by doing the following:

  1. Add more annotated images
  2. Include the rotation angle of the bounding boxes
  3. Train for > 300 epochs

Results

Training/Validation results

App

I built an app using Streamlit You can access it here

About

This project contains code including an app to detect water meter readings from mechanical water meters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published