This is the official implementation of our paper Towards Accurate Readings of Water Meters by Eliminating Transition Error: New Dataset and Effective Solution.
🔥 A comprehensive list of Awesome Image-based Meter Recognition Reading methods and datasets is available.
WMeter5K totally contains 5,000 water meter images, which are all captured by the add-on camera attached to real-world water meters. Fine-grained annotations are provided for each image, including bounding box and readings for each digital wheel and pointer, and the overall readings of the entire meter.
- Down load WMeter5K from here and put it to
./dataset/WMeter5K
- Use
./dataset/visualize.py
for visualization.
- Put the model weights im.pkl and tr.pkl to
./checkpoint/
- Prepare the water meter image and the corresponding detection annotations. Use
./demo/cropping.py
to obtain cropped pointer images. - Run the following script for inference
python val_and_test.py --mode test --img_folder ./demo/pointers/
- Down load WMeter5K from here and put it to
./dataset/WMeter5K
- Run the following script for evaluation on WMeter5K's test set
python val_and_test.py --mode val
- Down load WMeter5K from here and put it to
./dataset/WMeter5K
- Prepare the LMDB version for WMeter5K by runing
python createlmdb.py
- Put the model weights im.pkl to
./checkpoint/
- Run the following script for training
python train.py
@inproceedings{zhangwater2024,
Author = {Jiaxin Zhang, Daizhen Jia, Chongyu Liu, Dezhi Peng, Bangdong Chen, Xue Gao and Lianwen Jin},
Booktitle = {IEEE Transactions on Instrument and Measurement},
Title = {Towards Accurate Readings of Water Meters by Eliminating Transition Error: New Dataset and Effective Solution,
Year = {2024}}