Skip to content

kkaiwwana/Water-Meter-Recognition

Repository files navigation

Water Meter Recognition

Machine Learning Course, Spring 2023, Final Project. Kai Wang, 21052222 at hdu dot edu dot com

At the Begining

This project is NOT aiming to show you some brilliant scores it achieved, instead, it tries to make you how I manage and solve a relatively complicated Machine Learning problem in real world. As a matter of fact, there have been some blogs/guidance show you how to deal with this problem. Using semantic(image) segmentation + classification is a universal way to handle problems like this. But I did it, for this specific task, in my way. Well, it's sure, when you keep on reading you'll find its limitaitions, but that's not my actual purpose.

Problem Description

imgs

Read dights in the photo of water meter

Problem Solution

WORKFLOW: Rotation Regression → Object Detection → Digits Recognition

1.Rotation Regression

Predict the rotation angle of images.

rota_reg

2.Object Detecion

Detect the region that contains object of digits.

object_detect

3.Digits Recognition

Recognize digits in the region detected.

region_seged

→ '0 0 1 4 1'

TO MAKE IT BETTER:

It got a score of 0.818 in metric $\frac{TP + NP}{P + N}, i.e. Accuracy$, in test dateset. Generally speaking, not bad.

submit_socre

But it surely can be improved and get a point of 0.9 or so, easily, I think.

Here are some facts and recomendations:

  1. In this project, I just employed some basic models, tricks and didn't modify those hyper-parameters cautiously. You can improve it.
  2. By checking ./ProcessedData in WaterMeterDataset, you can find that rotation regression and object detection parts of the job were done well. Actaully, the bottleneck was right the digits recognition part.
  3. Sligtly expand and segment the region detected in origin image may help. We would rather take in more noise than lose vital information.

About

Machine Learning final project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published