# DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognition

This repository allows to use the DAN model, a ***Segmentation-free Document Attention Network for Handwritten Document Recognition***. Both training and inference are possible using the multiple commands exposed.

![Prediction visualization](assets/visual.png)

The model uses a character-level attention to handle slanted lines:
![Prediction visualization on slanted lines](assets/visual_slanted_lines.png)

Click [here](original_paper.md) to learn more about the model and how it fares against SOTA models.

[Get started with DAN](get_started/index.md) now!