Automatic Processing of Historical Japanese Mathematics (Wasan) Documents
Source abstract
Abstract
“Wasan” is the collective name given to a set of mathematical texts written in Japan in the Edo period (1603–1867). These documents represent a unique type of mathematics and amalgamate the mathematical knowledge of a time and place where major advances where reached. Due to these facts, Wasan documents are considered to be of great historical and cultural significance. This paper presents a fully automatic algorithmic process to first detect the kanji characters in Wasan documents and subsequently classify them using deep learning networks. We pay special attention to the results concerning one particular kanji character, the “ima” kanji, as it is of special importance for the interpretation of Wasan documents. As our database is made up of manual scans of real historical documents, it presents scanning artifacts in the form of image noise and page misalignment. First, we use two preprocessing steps to ameliorate these artifacts. Then we use three different blob detector algorithms to determine what parts of each image belong to kanji Characters. Finally, we use five deep learning networks to classify the detected kanji. All the steps of the pipeline are thoroughly evaluated, and several options are compared for the kanji detection and classification steps. As ancient kanji database are rare and often include relatively few images, we explore the possibility of using modern kanji databases for kanji classification. Experiments are run on a dataset containing 100 Wasan book pages. We compare the performance of three blob detector algorithms for kanji detection obtaining 79.60% success rate with 7.88% false positive detections. Furthermore, we study the performance of five well-known deep learning networks and obtain 99.75% classification accuracy for modern kanji and 90.4% for classical kanji. Finally, our full pipeline obtains 95% correct detection and classification of the “ima” kanji with 3% False positives.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Handwritten Text Recognition Techniques · Image Processing and 3D Reconstruction · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Science, Yamagata University, Yamagata 990-8560, Japan
Department of Computer Science and Applied Mathematics, Girona University, 17003 Girona, Spain
References (52)
Show source-provided references
1. Ogawa, T., Miura, K., Masunari, T., and Nagy, D. (1996). Wasan, and Its Cultural Background. Katachi and Symmetry, Springer.10.1007/978-4-431-68407-7 ↗
2. A survey of Japanese publications on the history of Japanese traditional mathematics (Wasan) from the last 30 years10.1016/0315-0860(90)90027-B ↗
3. Smith, D.E., and Mikami, Y. (1914). A History of Japanese Mathematics, Felix Meiner.
4. Mitsuyoshi, Y. (2000). Jinkouki, Wasan Institute.
5. Fukagawa, H., and Rothman, T. (2008). Sacred Mathematics: Japanese Temple Geometry, Princeton Publishing.
6. Diez, Y., Suzuki, T., Vila, M., and Waki, K. (2019, January 19–21). Computer vision and deep learning tools for the automatic processing of WASAN documents. Proceedings of the ICPRAM 2019—Proceedings of the 8th International Conference on Pattern Recognition Applications and Methods, Prague, Czech Republic.10.5220/0007555607570765 ↗
7. Suzuki, T., Diez, Y., Vila, M., and Waki, K. (2020, January 9–12). Computer Vision and Deep learning algorithms for the automatic processing of Wasan documents. Proceedings of the 34th Annual Conference of JSAI, Online.
8. Pomplun, M. (2022). Hands-On Computer Vision, World Scientific Publishing.
9. Editorial for special issue on “Advanced Topics in Document Analysis and Recognition”10.1007/s10032-019-00342-z ↗
10. A Survey of the Usages of Deep Learning for Natural Language Processing10.1109/TNNLS.2020.2979670 ↗
11. Dahl, C.M., Johansen, T.S.D., Sørensen, E.N., Westermann, C.E., and Wittrock, S.F. (2021). Applications of Machine Learning in Document Digitisation. CoRR, Available online: http://xxx.lanl.gov/abs/2102.03239.
12. Fred, A.L.N., and Filipe, J. (2020, January 2–4). Historical Document Processing: A Survey of Techniques, Tools, and Trends. Proceedings of the 12th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, IC3K 2020, Volume 1: KDIR, Budapest, Hungary.
13. An Improved Faster R-CNN for Small Object Detection10.1109/ACCESS.2019.2932731 ↗
14. Accurate and fast single shot multibox detector10.1049/iet-cvi.2019.0711 ↗
15. Redmon, J., Divvala, S.K., Girshick, R.B., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
16. Redmon, J., and Farhadi, A. (2018). YOLOv3: An Incremental Improvement. CoRR, Available online: http://xxx.lanl.gov/abs/1804.02767.
17. Tomás Pérez, J.V. (2020). Recognition of Japanese Handwritten Characters with Machine Learning Techniques. [Bachelor’s Thesis, University of Alicante].
18. Handwritten Chinese Text Recognition by Integrating Multiple Contexts10.1109/TPAMI.2011.264 ↗
19. ETL (2018, November 20). ETL Character Database, Available online: http://etlcdb.db.aist.go.jp/.
20. Tsai, C. (2016). Recognizing Handwritten Japanese Characters Using Deep Convolutional Neural Networks, Standford University. Technical Report.
21. Simonyan, K., and Zisserman, A. (2015, January 7–9). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the International Conference on Learning Representations ICLR 2015, San Diego, CA, USA. Conference Track Proceedings.
22. Grębowiec, M., and Protasiewicz, J. (2018, January 9–12). A Neural Framework for Online Recognition of Handwritten Kanji Characters. Proceedings of the 2018 Federated Conference on Computer Science and Information Systems (FedCSIS), Poznań, Poland.10.15439/2018F140 ↗
23. Clanuwat, T., Bober-Irizar, M., Kitamoto, A., Lamb, A., Yamamoto, K., and Ha, D. (2018). Deep Learning for Classical Japanese Literature. CoRR, Available online: http://xxx.lanl.gov/abs/cs.CV/1812.01718.
24. Del Bimbo, A., Cucchiara, R., Sclaroff, S., Farinella, G.M., Mei, T., Bertini, M., Escalante, H.J., and Vezzani, R. (2021). Survey on Deep Learning-Based Kuzushiji Recognition. Pattern Recognition. ICPR International Workshops and Challenges, Springer International Publishing.10.1007/978-3-030-68796-0 ↗
25. International Journal of Recent Technology and Engineering IJ
26. Ahmed Ali, A.A., Suresha, M., and Mohsin Ahmed, H.A. (2019, January 18–20). Different Handwritten Character Recognition Methods: A Review. Proceedings of the 2019 Global Conference for Advancement in Technology (GCAT), Bangalore, India.10.1109/GCAT47503.2019.8978347 ↗
27. Tang, Y., Hatano, K., and Takimoto, E. (2019, January 20–21). Recognition of Japanese Historical Hand-Written Characters Based on Object Detection Methods. Proceedings of the 5th International Workshop on Historical Document Imaging and Processing, HIP@ICDAR 2019, Sydney, NSW, Australia.10.1145/3352631.3352642 ↗
28. Ueki, K., and Kojima, T. (2020, January 22–24). Japanese Cursive Character Recognition for Efficient Transcription. Proceedings of the 9th International Conference on Pattern Recognition Applications and Methods—Volume 1: ICPRAM, INSTICC, Valletta, Malta.10.5220/0008913204020406 ↗
29. Backpropagation Applied to Handwritten Zip Code Recognition10.1162/neco.1989.1.4.541 ↗
30. Yamagata University (2018, November 20). Yamagata University Wasan Sakuma Collection (Japanese). Available online: https://www.ocrconvert.com/japanese-ocr.
31. Real-time line detection through an improved Hough transform voting scheme10.1016/j.patcog.2007.04.003 ↗
32. Agrawal, M., and Doermann, D.S. (2009, January 26–29). Clutter noise removal in binary document images. Proceedings of the 2009 10th International Conference on Document Analysis and Recognition, Barcelona, Spain.10.1109/ICDAR.2009.277 ↗
33. A survey of the hough transform10.1016/S0734-189X(88)80033-1 ↗
34. Matas, J., Galambos, C., and Kittler, J. (1999, January 23–25). Progressive Probabilistic Hough Transform. Proceedings of the 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Cat. No PR00149), Fort Collins, CO, USA.
35. Arnia, F., Muchallil, S., and Munadi, K. (2015, January 23–26). Noise characterization in ancient document images based on DCT coefficient distribution. Proceedings of the 13th International Conference on Document Analysis and Recognition, ICDAR 2015, Nancy, France.10.1109/ICDAR.2015.7333906 ↗
36. Barna, N.H., Erana, T.I., Ahmed, S., and Heickal, H. (2018, January 6–8). Segmentation of Heterogeneous Documents into Homogeneous Components using Morphological Operations. Proceedings of the 17th IEEE/ACIS International Conference on Computer and Information Science, ICIS 2018, Singapore.10.1109/ICIS.2018.8466395 ↗
37. Two-dimensional gray scale image denoising via morphological operations in NSST domain & bitonic filtering10.1016/j.future.2017.12.034 ↗
38. Tekleyohannes, M.K., Weis, C., Wehn, N., Klein, M., and Siegrist, M. (2018, January 21–25). A Reconfigurable Accelerator for Morphological Operations. Proceedings of the 2018 IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPS Workshops 2018, Vancouver, BC, Canada.10.1109/IPDPSW.2018.00035 ↗
39. Van der Walt, S., Schönberger, J.L., Nunez-Iglesias, J., Boulogne, F., Warner, J.D., Yager, N., Gouillart, E., Yu, T., and The Scikit-Image Contributors (2014). scikit-image: Image processing in Python. PeerJ, 2.10.7717/peerj.453 ↗
40. Image Matching Using Generalized Scale-Space Interest Points10.1007/s10851-014-0541-0 ↗
41. Theory of Edge Detection10.1098/rspb.1980.0020 ↗
42. Diez, Y., Kentsch, S., Fukuda, M., Caceres, M.L.L., Moritake, K., and Cabezas, M. (2021). Deep Learning in Forestry Using UAV-Acquired RGB Data: A Practical Review. Remote Sens., 13.10.3390/rs13142837 ↗
43. Wen, J., Thibeau-Sutre, E., Diaz-Melo, M., Samper-González, J., Routier, A., Bottani, S., Dormont, D., Durrleman, S., Burgos, N., and Colliot, O. (2020). Convolutional neural networks for classification of Alzheimer’s disease: Overview and reproducible evaluation. Med. Image Anal., 63.10.1016/j.media.2020.101694 ↗
44. Cabezas, M., Kentsch, S., Tomhave, L., Gross, J., Caceres, M.L.L., and Diez, Y. (2020). Detection of Invasive Species in Wetlands: Practical DL with Heavily Imbalanced Data. Remote Sens., 12.10.3390/rs12203431 ↗
45. Howard, J., Thomas, R., and Gugger, S. (2021, January 01). Fastai. Available online: https://github.com/fastai/fastai.
46. Krizhevsky, A., Sutskever, I., and Hinton, G.E. (2012, January 3–6). ImageNet Classification with Deep Convolutional Neural Networks. Proceedings of the 25th International Conference on Neural Information Processing Systems—Volume 1, Red Hook, NY, USA.
47. Iandola, F.N., Moskewicz, M.W., Ashraf, K., Han, S., Dally, W.J., and Keutzer, K. (2016). SqueezeNet: AlexNet-level accuracy with 50× fewer parameters and <1 MB model size. arXiv.
48. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
49. Huang, G., Liu, Z., and Weinberger, K.Q. (2016, January 21–26). Densely Connected Convolutional Networks. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
50. Kentsch, S., Caceres, M.L.L., Serrano, D., Roure, F., and Diez, Y. (2020). Computer Vision and Deep Learning Techniques for the Analysis of Drone-Acquired Forest Images, a Transfer Learning Study. Remote Sens., 12.10.3390/rs12081287 ↗
51. The OpenCV Library
52. Paszke, A., Gross, S., Chintala, S., Chanan, G., Yang, E., DeVito, Z., Lin, Z., Desmaison, A., Antiga, L., and Lerer, A. (2017). Automatic Differentiation in PyTorch, NIPS Autodiff Workshop.