Research Article

Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning

Volume: 7 Number: 2 December 29, 2023
EN TR

Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning

Abstract

A few decades ago, people used printed resources such as books and magazines to learn. With the development of technology, digital documents have replaced printed resources. These documents can occur in the form of images or various text formats. Many different applications exist for preparing digital documents, one of these being LaTeX. LaTeX is a document preparation system and typesetting software that is used especially in the field of scientific publications and mathematics for preparing high quality documents. When preparing a document using LaTeX, the content is made ready using a markup language, which creates difficulties for some users. However, one of the main advantages of using the LaTeX system is that it distinguishes the document’s content from its formatting. Once the content is created, the formatting can be easily replaced. Generating LaTeX code from an image-formatted document requires both the use of computer vision and NLP. This study discovers the boundaries (blocks) of the places where text, tables, and figures are located on an image before making a text classification using the natural language processing methods of these blocks. The next stage of the study determines the reading order to enable meaningful flow. The final stage of the study produces a LaTeX code using the obtained information.

Keywords

References

  1. Akpan, U. I., & Starkey, A. (2021). Review of classification algorithms with changing inter-class distances. Machine Learning with Applications, 4, 100031. https://doi.org/10.1016/j.mlwa.2021.100031 google scholar
  2. Ali, F., Kwak, K.-S., & Kim, Y.-G. (2016). Opinion mining based on fuzzy domain ontology and Support Vector Machine: A proposal to automate online review classification. Applied Soft Computing, 47, 235-250. https://doi.Org/10.1016/j.asoc.2016.06.003 google scholar
  3. Clark, C., & Divvala, S. (2016). PDFFigures 2.0. Proceedings of the 16th ACM/IEEE-CS on Joint Conference on Digital Libraries, 143-152. https://doi.org/10.1145/2910896.2910904 google scholar
  4. CTAN Team. (n.d.). What are TEX and its friends? Retrieved May 8, 2022, from https://www.ctan.org/tex google scholar
  5. Deivalakshmi, S., Palanisamy, P., & Vishwanathan, G. (2013). A novel method for text and non-text segmentation in document images. 2013 International Conference on Communication and Signal Processing, 255-259. https://doi.org/10.1109/iccsp.2013.6577054 google scholar
  6. Deng, Y., Rosenberg, D., & Mann, G. (2019). Challenges in End-to-End Neural Scientific Table Recognition. 2019 International Conference on Document Analysis and Recognition (ICDAR), 894-901. https://doi.org/10.1109/ICDAR.2019.00148 google scholar
  7. Ding, H., Chen, K., & Huo, Q. (2019). Compressing CNN-DBLSTM models for OCR with teacher-student learning and Tucker decomposition. Pattern Recognition, 96, 106957. https://doi.org/10.1016/j.patcog.2019.07.002 google scholar
  8. Doğan, M. İ., Orman, A., Örkcü, M., & Örkcü, H. H. (2019). Çok gruplu sınıflandırma problemlerine regresyon analizi ve matematiksel programlama tabanlı yeni bir yaklaşım. Gazi Üniversitesi Mühendislik-Mimarlık Fakültesi Dergisi. https://doi.org/10.17341/gazimmfd.571643 google scholar

Details

Primary Language

English

Subjects

Computer Software

Journal Section

Research Article

Publication Date

December 29, 2023

Submission Date

March 1, 2023

Acceptance Date

September 19, 2023

Published in Issue

Year 2023 Volume: 7 Number: 2

APA
Kazanç, M., Ensari, T., & Dağtekin, M. (2023). Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning. Acta Infologica, 7(2), 253-266. https://doi.org/10.26650/acin.1258719
AMA
1.Kazanç M, Ensari T, Dağtekin M. Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning. ACIN. 2023;7(2):253-266. doi:10.26650/acin.1258719
Chicago
Kazanç, Murat, Tolga Ensari, and Mustafa Dağtekin. 2023. “Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning”. Acta Infologica 7 (2): 253-66. https://doi.org/10.26650/acin.1258719.
EndNote
Kazanç M, Ensari T, Dağtekin M (December 1, 2023) Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning. Acta Infologica 7 2 253–266.
IEEE
[1]M. Kazanç, T. Ensari, and M. Dağtekin, “Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning”, ACIN, vol. 7, no. 2, pp. 253–266, Dec. 2023, doi: 10.26650/acin.1258719.
ISNAD
Kazanç, Murat - Ensari, Tolga - Dağtekin, Mustafa. “Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning”. Acta Infologica 7/2 (December 1, 2023): 253-266. https://doi.org/10.26650/acin.1258719.
JAMA
1.Kazanç M, Ensari T, Dağtekin M. Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning. ACIN. 2023;7:253–266.
MLA
Kazanç, Murat, et al. “Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning”. Acta Infologica, vol. 7, no. 2, Dec. 2023, pp. 253-66, doi:10.26650/acin.1258719.
Vancouver
1.Murat Kazanç, Tolga Ensari, Mustafa Dağtekin. Converting Image Files to LaTeX Format Using Computer Vision, Natural Language Processing, and Machine Learning. ACIN. 2023 Dec. 1;7(2):253-66. doi:10.26650/acin.1258719