Does the Adjacent Digit Help Read a Seven-Segment Display?
Abstract
A crop of one seven-segment digit often includes part of the next digit. We held the target window fixed and tested whether suppressing visible adjacent boxes helped a recognition baseline on 168 photographed energy-meter fields. With the same crop policy at training and test, suppression raised correct predictions from 953 to 956 out of 977 digits. Whole annotated fields rose from 151 to 154 out of 168. Both policies produced six wrong predictions equal to a visible neighboring digit. Switching the crop treatment only at test time reduced digit accuracy for both trained models. Matching training and test crop policies mattered more for digit accuracy than suppression alone. The adjacent-substitution count stayed the same.
References
- Baek, J.; Kim, G.; Lee, J.; Park, S.; Han, D.; Yun, S.; Oh, S. J.; Lee, H. (2019). What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 4714–4722. https://doi.org/10.1109/iccv.2019.00481
- Brodersen, K. H.; Ong, C. S.; Stephan, K. E.; Buhmann, J. M. (2010). The Balanced Accuracy and Its Posterior Distribution. 2010 20th International Conference on Pattern Recognition, 3121–3124. https://doi.org/10.1109/icpr.2010.764
- Jin, T.; Kan, D.; Yin, S.; Zhao, R. (2024). A Study on Multi-Perspective Master-Slave Monitoring and Visual Recognition of Control Panels Based on Mixed Reality. 2024 10th International Conference on Systems and Informatics (ICSAI), 1–5. https://doi.org/10.1109/icsai65059.2024.10893733
- Cortes, C.; Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297. https://doi.org/10.1007/bf00994018
- Dalal, N.; Triggs, B. (2005). Histograms of Oriented Gradients for Human Detection. 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05), 1, 886–893. https://doi.org/10.1109/cvpr.2005.177
- Ebadi, A.; Paul, P.; Auer, S.; Tremblay, S. (2023). NRC-GAMMA: A Large Novel Open-Access Gas Meter Image Dataset. Journal of Computational Vision and Imaging Systems, 8(1). https://doi.org/10.15353/jcvis.v8i1.5354
- Geirhos, R.; Jacobsen, J. H.; Michaelis, C.; Zemel, R.; Brendel, W.; Bethge, M.; Wichmann, F. A. (2020). Shortcut learning in deep neural networks. Nature Machine Intelligence, 2(11), 665–673. https://doi.org/10.1038/s42256-020-00257-z
- Goodfellow, I. J.; Bulatov, Y.; Ibarz, J.; Arnoud, S.; Shet, V. (2014). Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks. International Conference on Learning Representations (ICLR). https://arxiv.org/abs/1312.6082
- Graves, A.; Fernández, S.; Gomez, F.; Schmidhuber, J. (2006). Connectionist temporal classification. Proceedings of the 23rd international conference on Machine learning - ICML '06, 369–376. https://doi.org/10.1145/1143844.1143891
- Jaderberg, M.; Simonyan, K.; Vedaldi, A.; Zisserman, A. (2014). Deep Structured Output Learning for Unconstrained Text Recognition. arXiv. https://arxiv.org/abs/1412.5903
- Kanagarathinam, K.; Sekar, K. (2019). Text detection and recognition in raw image dataset of seven segment digital energy meter display. Energy Reports, 5, 842–852. https://doi.org/10.1016/j.egyr.2019.07.004
- Karatzas, D.; Gomez-Bigorda, L.; Nicolaou, A.; Ghosh, S.; Bagdanov, A.; Iwamura, M.; Matas, J.; Neumann, L.; Chandrasekhar, V. R.; Lu, S.; et al. (2015). ICDAR 2015 competition on Robust Reading. 2015 13th International Conference on Document Analysis and Recognition (ICDAR), 1156–1160. https://doi.org/10.1109/icdar.2015.7333942
- Karthick, K.; Kavaskar, S. (2019). Data for: Text detection and Recognition in Raw Image Dataset of Seven Segment Digital Energy Meter Display. Mendeley Data, version 1. https://doi.org/10.17632/fnn44p4mj8.1
- Laroca, R.; Barroso, V.; Diniz, M. A.; Gonçalves, G. R.; Schwartz, W. R.; Menotti, D. (2019). Convolutional neural networks for automatic meter reading. Journal of Electronic Imaging, 28(01), 1–14. https://doi.org/10.1117/1.jei.28.1.013023
- LeCun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278–2324. https://doi.org/10.1109/5.726791
- Lin, T. Y.; Maire, M.; Belongie, S.; Hays, J.; Perona, P.; Ramanan, D.; Dollár, P.; Zitnick, C. L. (2014). Microsoft COCO: Common Objects in Context. Lecture Notes in Computer Science, 740–755. https://doi.org/10.1007/978-3-319-10602-1_48
- Mottaghi, R.; Chen, X.; Liu, X.; Cho, N. G.; Lee, S. W.; Fidler, S.; Urtasun, R.; Yuille, A. (2014). The Role of Context for Object Detection and Semantic Segmentation in the Wild. 2014 IEEE Conference on Computer Vision and Pattern Recognition, 891–898. https://doi.org/10.1109/cvpr.2014.119
- Nadeau, C.; Bengio, Y. (2003). Inference for the Generalization Error. Machine Learning, 52(3), 239–281. https://doi.org/10.1023/a%3A1024068626366
- Netzer, Y.; Wang, T.; Coates, A.; Bissacco, A.; Wu, B.; Ng, A. Y. (2011). Reading Digits in Natural Images with Unsupervised Feature Learning. NeurIPS Workshop on Deep Learning and Unsupervised Feature Learning. https://ufldl.stanford.edu/housenumbers/nips2011_housenumbers.pdf
- Oliva, A.; Torralba, A. (2007). The role of context in object recognition. Trends in Cognitive Sciences, 11(12), 520–527. https://doi.org/10.1016/j.tics.2007.09.009
- Roberts, D. R.; Bahn, V.; Ciuti, S.; Boyce, M. S.; Elith, J.; Guillera‐Arroita, G.; Hauenstein, S.; Lahoz‐Monfort, J. J.; Schröder, B.; Thuiller, W.; et al. (2017). Cross‐validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8), 913–929. https://doi.org/10.1111/ecog.02881
- Salomon, G.; Laroca, R.; Menotti, D. (2020). Deep Learning for Image-based Automatic Dial Meter Reading: Dataset and Baselines. 2020 International Joint Conference on Neural Networks (IJCNN), 1–8. https://doi.org/10.1109/IJCNN48605.2020.9207318
- Shi, B.; Bai, X.; Yao, C. (2017). An End-to-End Trainable Neural Network for Image-Based Sequence Recognition and Its Application to Scene Text Recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(11), 2298–2304. https://doi.org/10.1109/tpami.2016.2646371
- Smith, R. (2007). An Overview of the Tesseract OCR Engine. Ninth International Conference on Document Analysis and Recognition (ICDAR 2007) Vol 2, 629–633. https://doi.org/10.1109/icdar.2007.4376991
- Sokolova, M.; Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing & Management, 45(4), 427–437. https://doi.org/10.1016/j.ipm.2009.03.002
- Torralba, A.; Efros, A. A. (2011). Unbiased look at dataset bias. CVPR 2011, 1521–1528. https://doi.org/10.1109/cvpr.2011.5995347
- Xiang, X.; Zhu, C.; Ou, Z.; Zhang, Q.; Zheng, S.; Chen, Z. (2026). Semi-Supervised Seven-Segment LED Display Recognition with an Integrated Data-Acquisition Framework. Sensors, 26(1), 265. https://doi.org/10.3390/s26010265
- Yang, F.; Jin, L.; Lai, S.; Gao, X.; Li, Z. (2019). Fully Convolutional Sequence Recognition Network for Water Meter Number Reading. IEEE Access, 7, 11679–11687. https://doi.org/10.1109/access.2019.2891767
- Yenneti, S.; Chiou, Y. M.; Price, B. (2023). Lightweight single pass numerical reading extraction for displays in the wild. Electronic Imaging, 35(7), 282––1–282–4. https://doi.org/10.2352/ei.2023.35.7.image-282
- Zhao, S.; Gao, Y.; Liu, F.; Zhang, Y.; Li, J. (2026). A Comprehensive Dataset for Word-Wheel Water Meter Reading Under Challenging Conditions. Scientific Data, 13(1), 479. https://doi.org/10.1038/s41597-026-06809-z