Translation of handwritten scientific texts into LaTeX format using the transformers architecture
Abstract
This research paper presents a way to perform the task of optical character recognition (OCR), which is based on the detection and recognition of characters within an image, through the transformer architecture, by using the SOTA models of DETR (Detection Transformer) for the generation of bounding boxes for each of the possible text sequences and the TrOCR for the recognition of text contained in these boxes. To perform the task, we finetune the pre-trained models of each type using a proprietary dataset, which consists of various handwritten and subsequently digitized notes from mathematics subjects, such as differential equations, integral and differential calculus, linear algebra, among others, which contain, for the most part, mathematical formulas capable of being expressed in LaTeX format.
