Transcription Alignment of Historical Vietnamese Manuscripts without Human-Annotated Learning Samples
Source abstract
Abstract
The current state of the art for automatic transcription of historical manuscripts is typically limited by the requirement of human-annotated learning samples, which are are necessary to train specific machine learning models for specific languages and scripts. Transcription alignment is a simpler task that aims to find a correspondence between text in the scanned image and its existing Unicode counterpart, a correspondence which can then be used as training data. The alignment task can be approached with heuristic methods dedicated to certain types of manuscripts, or with weakly trained systems reducing the required amount of annotations. In this article, we propose a novel learning-based alignment method based on fully convolutional object detection that does not require any human annotation at all. Instead, the object detection system is initially trained on synthetic printed pages using a font and then adapted to the real manuscripts by means of self-training. On a dataset of historical Vietnamese handwriting, we demonstrate the feasibility of annotation-free alignment as well as the positive impact of self-training on the character detection accuracy, reaching a detection accuracy of 96.4% with a YOLOv5m model without using any human annotation.
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
iCoSys, University of Applied Sciences and Arts Western Switzerland, 1700 Fribourg, Switzerland
Ecole Pratique des Hautes Etudes, PSL, 75014 Paris, France
DIVA, University of Fribourg, 1700 Fribourg, Switzerland
Funding
Swiss Hasler Fondation
References (37)
Show source-provided references
1. Fischer, A., Liwicki, M., and Ingold, R. (2020). Handwritten Historical Document Analysis, Recognition, and Retrieval—State of the Art and Future Trends, World Scientific.10.1142/11353 ↗
2. Kornfield, E.M., Manmatha, R., and Allan, J. (2004, January 23–24). Text Alignment with Handwritten Documents. Proceedings of the International Workshop on Document Image Analysis for Libraries, Palo Alto, CA, USA.
3. Nom document digitalization by deep convolution neural networks10.1016/j.patrec.2020.02.015 ↗
4. Dense and Tight Detection of Chinese Characters in Historical Documents: Datasets and a Recognition Guided Detector10.1109/ACCESS.2018.2840218 ↗
5. Lexicon-Free Handwritten Word Spotting Using Character HMMs10.1016/j.patrec.2011.09.009 ↗
6. CMATERdb1: A database of unconstrained handwritten Bangla and Bangla–English mixed script document image10.1007/s10032-011-0148-6 ↗
7. The ESPOSALLES Database: An Ancient Marriage License Corpus for Off-line Handwriting Recognition10.1016/j.patcog.2012.11.024 ↗
8. Kassis, M., Abdalhaleem, A., Droby, A., Alaasam, R., and El-Sana, J. (2017, January 3–5). VML-HD: The historical Arabic documents dataset for recognition systems. Proceedings of the 1st International Workshop on Arabic Script Analysis and Recognition (ASAR), Nancy, France.10.1109/ASAR.2017.8067751 ↗
9. Xu, Y., Yin, F., Wang, D.H., Zhang, X.Y., Zhang, Z., and Liu, C.L. (2019, January 20–25). CASIA-AHCDB: A large-scale Chinese ancient handwritten characters database. Proceedings of the 15th International Conference on Document Analysis and Recognition (ICDAR), Sydney, Australia.10.1109/ICDAR.2019.00132 ↗
10. ARDIS: A Swedish historical handwritten digit dataset10.1007/s00521-019-04163-3 ↗
11. Stamatopoulos, N., Gatos, B., Louloudis, G., Pal, U., and Alaei, A. (2013, January 22–28). ICDAR 2013 Handwriting Segmentation Contest. Proceedings of the 13th International Conference on Document Analysis and Recognition (ICDAR), Washington, DC, USA.10.1109/ICDAR.2013.283 ↗
12. Pratikakis, I., Zagoris, K., Gatos, B., Puigcerver, J., Toselli, A.H., and Vidal, E. (2016, January 23–26). ICFHR2016 Handwritten Keyword Spotting Competition (H-KWS 2016). Proceedings of the 15th International Conference on Frontiers in Handwriting Recognition (ICFHR), Shenzhen, China.10.1109/ICFHR.2016.0117 ↗
13. Sánchez, J.A., Romero, V., Toselli, A.H., Villegas, M., and Vidal, E. (2017, January 9–15). ICDAR2017 Competition on Handwritten Text Recognition on the READ Dataset. Proceedings of the 14th International Conference on Document Analysis and Recognition (ICDAR), Kyoto, Japan.10.1109/ICDAR.2017.226 ↗
14. Bluche, T., Louradour, J., and Messina, R. (2017, January 9–15). Scan, Attend and Read: End-to-End Handwritten Paragraph Recognition with MDLSTM Attention. Proceedings of the 14th International Conference on Document Analysis and Recognition (ICDAR), Kyoto, Japan.10.1109/ICDAR.2017.174 ↗
15. Poulos, J., and Valle, R. (2021). Character-based handwritten text transcription with attention networks. Neural Comput. Appl.10.1007/s00521-021-05813-1 ↗
16. The IAM-Database: An English Sentence Database for Off-line Handwriting Recognition10.1007/s100320200071 ↗
17. Leydier, Y., Eglin, V., Brès, S., and Stutzmann, D. (2014, January 1–4). Learning-free text-image alignment for medieval manuscripts. Proceedings of the 14th International Conference on Frontiers in Handwriting Recognition (ICFHR), Crete Island, Greece.10.1109/ICFHR.2014.67 ↗
18. Rabaev, I., Cohen, R., El-Sana, J., and Kedem, K. (2015, January 26–29). Aligning transcript of historical documents using dynamic programming. Proceedings of the International Conference on Document Recognition and Retrieval (DRR), Catania, Italy.10.1117/12.2076062 ↗
19. Fischer, A., Frinken, V., Fornés, A., and Bunke, H. (2011, January 18). Transcription alignment of Latin manuscripts using hidden Markov models. Proceedings of the 1st International Workshop on Historical Document Imaging and Processing (HIP), New York, NY, USA.10.1145/2037342.2037348 ↗
20. Romero-Gómez, V., Toselli, A.H., Bosch, V., Sánchez, J.A., and Vidal, E. (2018, January 24–27). Automatic Alignment of Handwritten Images and Transcripts for Training Handwritten Text Recognition Systems. Proceedings of the Workshop on Document Analysis Systems (DAS), Vienna, Austria.10.1109/DAS.2018.41 ↗
21. Chammas, E., Mokbel, C., and Likforman-Sulem, L. (2018, January 24–27). Handwriting Recognition of Historical Documents with Few Labeled Data. Proceedings of the Workshop on Document Analysis Systems (DAS), Vienna, Austria.10.1109/DAS.2018.15 ↗
22. Text alignment in early printed books combining deep learning and dynamic programming10.1016/j.patrec.2020.02.016 ↗
23. Transcript mapping for handwritten Chinese documents by integrating character recognition model and geometric context10.1016/j.patcog.2013.03.013 ↗
24. Redmon, J., Divvala, S., Girshick, R., 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), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
25. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S.E., Fu, C.Y., and Berg, A. (2016, January 11–14). SSD: Single Shot MultiBox Detector. Proceedings of the European Conference on Computer Vision (ECCV), Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
26. Lin, T.Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal loss for dense object detection. Proceedings of the International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.324 ↗
27. Redmon, J., and Farhadi, A. (2017, January 21–26). YOLO9000: Better, Faster, Stronger. Proceedings of the International Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.690 ↗
28. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks10.1109/TPAMI.2016.2577031 ↗
29. Farhadi, A., and Redmon, J. (2018). Yolov3: An incremental improvement. arXiv.
30. Lin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature pyramid networks for object detection. Proceedings of the International Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
31. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv.
32. Wang, C.Y., Liao, H., Yeh, I.H., Wu, Y.H., Chen, P.Y., and Hsieh, J.W. (2020, January 14–19). CSPNet: A New Backbone that can Enhance Learning Capability of CNN. Proceedings of the International Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Seattle, WA, USA.10.1109/CVPRW50498.2020.00203 ↗
33. Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18–23). Path aggregation network for instance segmentation. Proceedings of the International Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00913 ↗
34. Jocher, G. (2021, May 25). Ultralytics/Yolov5: v4.0—nn.SiLU() Activations, Weights & Biases Logging, PyTorch Hub Integration. Available online: https://doi.org/10.5281/ZENODO.4418161.
35. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., and Antiga, L. (2019, January 16–23). PyTorch: An Imperative Style, High-Performance Deep Learning Library. Proceedings of the International Conference on Neural Information Processing Systems (NeurIPS), Vancouver, BC, Canada.
36. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014, January 6–12). Microsoft COCO: Common Objects in Context. Proceedings of the 13th European Conference on Computer Vision (ECCV), Zurich, Switzerland.10.1007/978-3-319-10602-1_48 ↗
37. Scius-Bertrand, A., Voegtlin, L., Alberti, M., Fischer, A., and Bui, M. (2019, January 20–21). Layout Analysis and Text Column Segmentation for Historical Vietnamese Steles. Proceedings of the 5th International Workshop on Historical Document Imaging and Processing (HIP), Sydney, NSW, Australia.10.1145/3352631.3352634 ↗