Best Practices for a Handwritten Text Recognition System

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Retsinas, George, Sfikas, Giorgos, Gatos, Basilis, Nikou, Christophoros
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910413714620416
author Retsinas, George
Sfikas, Giorgos
Gatos, Basilis
Nikou, Christophoros
author_facet Retsinas, George
Sfikas, Giorgos
Gatos, Basilis
Nikou, Christophoros
contents Handwritten text recognition has been developed rapidly in the recent years, following the rise of deep learning and its applications. Though deep learning methods provide notable boost in performance concerning text recognition, non-trivial deviation in performance can be detected even when small pre-processing or architectural/optimization elements are changed. This work follows a ``best practice'' rationale; highlight simple yet effective empirical practices that can further help training and provide well-performing handwritten text recognition systems. Specifically, we considered three basic aspects of a deep HTR system and we proposed simple yet effective solutions: 1) retain the aspect ratio of the images in the preprocessing step, 2) use max-pooling for converting the 3D feature map of CNN output into a sequence of features and 3) assist the training procedure via an additional CTC loss which acts as a shortcut on the max-pooled sequential features. Using these proposed simple modifications, one can attain close to state-of-the-art results, while considering a basic convolutional-recurrent (CNN+LSTM) architecture, for both IAM and RIMES datasets. Code is available at https://github.com/georgeretsi/HTR-best-practices/.
format Preprint
id arxiv_https___arxiv_org_abs_2404_11339
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Best Practices for a Handwritten Text Recognition System
Retsinas, George
Sfikas, Giorgos
Gatos, Basilis
Nikou, Christophoros
Computer Vision and Pattern Recognition
Handwritten text recognition has been developed rapidly in the recent years, following the rise of deep learning and its applications. Though deep learning methods provide notable boost in performance concerning text recognition, non-trivial deviation in performance can be detected even when small pre-processing or architectural/optimization elements are changed. This work follows a ``best practice'' rationale; highlight simple yet effective empirical practices that can further help training and provide well-performing handwritten text recognition systems. Specifically, we considered three basic aspects of a deep HTR system and we proposed simple yet effective solutions: 1) retain the aspect ratio of the images in the preprocessing step, 2) use max-pooling for converting the 3D feature map of CNN output into a sequence of features and 3) assist the training procedure via an additional CTC loss which acts as a shortcut on the max-pooled sequential features. Using these proposed simple modifications, one can attain close to state-of-the-art results, while considering a basic convolutional-recurrent (CNN+LSTM) architecture, for both IAM and RIMES datasets. Code is available at https://github.com/georgeretsi/HTR-best-practices/.
title Best Practices for a Handwritten Text Recognition System
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.11339