All models

OrigamiNet

A handwriting recognizer that reads a full paragraph in one pass by learning to unfold it into one long line.

Documents and OCR · 288 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (19 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.5M
Operations
288
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
97 (as of 27 October 2026)
Authors
Mohamed Yousef, Tom E. Bishop
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19017
Graph hash
5aa3cdef141152fa768835aea6b779bb699c9068b70508db47b53479758f415e
Skeleton hash
30cd09d1d348ec2d774c03f71035f1bea9b7b89aa0bf0164845d73a177126d2b
Architecture hash
3458a8b6efb48c4e24af0cb6c3506b7706565c39874af203ed03139294c3c501
Diagram SHA-256
d9a6a5ce87316db47b95890dc9592f8ce33816fe36b46603c31866e37d0d14f4
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

OrigamiNet is a handwriting recognizer that reads a whole paragraph or page in a single network forward pass, without first cutting it into text lines. It is a small add-on module that, according to the paper, can turn any CTC-trained, fully convolutional single-line text recognizer into a multi-line one. Training uses only page images and their transcriptions, with no line positions in the images and no line breaks in the text.

The module learns the 2D-to-1D unfolding itself: it up-scales the feature map vertically in two stages while down-scaling it horizontally, producing a tall, narrow map shaped like one very long line. That map is average-pooled over its short side and trained with the CTC loss. In effect, all lines of the page are stitched together into one long line, so no text-line segmentation is needed. The paper argues that earlier attempts were held back by spatial constraints rather than overall capacity, and its interpretability experiments show the trained models learn an accurate implicit line segmentation.

On ICDAR 2017 HTR, the paper reports 6.80% CER and 5.87% normalized CER for its GTR-12 OrigamiNet. The paper notes that learning the reading flow across multiple columns is not addressed directly.

Key idea. OrigamiNet is a simple sub-module that converts a fully convolutional single-line text recognizer into a multi-line recognizer by giving it enough spatial capacity to unfold 2D input into 1D.

  • origaminet
  • handwriting recognition
  • handwritten text recognition
  • full page text recognition
  • multi-line text recognition
  • segmentation-free
  • ocr
  • ctc
  • iam

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{yousef2020origaminetweaklysupervisedsegmentationfreeonestep,
      title={OrigamiNet: Weakly-Supervised, Segmentation-Free, One-Step, Full Page Text Recognition by learning to unfold}, 
      author={Mohamed Yousef and Tom E. Bishop},
      year={2020},
      eprint={2006.07491},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2006.07491}, 
}