# Dynamic Programming Approach to Template-based OCR

**Authors:** M.A. Povolotskiy, D.V. Tropin

arXiv: 1812.07933 · 2020-08-03

## TL;DR

This paper introduces a dynamic programming method called DSP for template-based OCR recognition, optimizing object positioning with constraints to improve speed and accuracy in text and license plate recognition tasks.

## Contribution

The paper presents a novel dynamic programming algorithm, DSP, that efficiently solves template-based OCR problems with positional constraints, outperforming general methods.

## Key findings

- DSP achieves faster recognition times.
- The method meets industrial accuracy standards.
- Experimental results validate the approach's effectiveness.

## Abstract

In this paper we propose a dynamic programming solution to the template-based recognition task in OCR case. We formulate a problem of optimal position search for complex objects consisting of parts forming a sequence. We limit the distance between every two adjacent elements with predefined upper and lower thresholds. We choose the sum of penalties for each part in given position as a function to be minimized. We show that such a choice of restrictions allows a faster algorithm to be used than the one for the general form of deformation penalties. We named this algorithm Dynamic Squeezeboxes Packing (DSP) and applied it to solve the two OCR problems: text fields extraction from an image of document Visual Inspection Zone (VIZ) and license plate segmentation. The quality and the performance of resulting solutions were experimentally proved to meet the requirements of the state-of-the-art industrial recognition systems.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.07933/full.md

## Figures

19 figures with captions in the complete paper: https://tomesphere.com/paper/1812.07933/full.md

## References

13 references — full list in the complete paper: https://tomesphere.com/paper/1812.07933/full.md

---
Source: https://tomesphere.com/paper/1812.07933