TRBA-TPS-ResNet-BiLSTM-Attn
A scene text recognizer built from four stages: TPS, ResNet, BiLSTM and an attention decoder.
Documents and OCR · 738 operations Checked
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
- Task
- Documents and OCR
- Parameters
- 49.6M
- Operations
- 738
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- ICCV 2019
- Cited by
- 628 (as of 23 October 2026)
- Authors
- Jeonghun Baek, Geewook Kim, Junyeop Lee and others
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3024
- Graph hash
- 0b9907f609e29641fce49d34a3f88c22e3cf8646dd76d322784283f78bca6c72
- Skeleton hash
- b9ab5fee7fca62b961c6beaf20c2df2311399b01cea4e64299000a4dedcdfb52
- Architecture hash
- 5fb4fcf402ba0bb4eb71ca97aa4ddd26b3d66fa1e4b51e5a018fe6295e2df115
- Diagram SHA-256
- d10133431f3a9b2978fcf3fef849ca47e395fc2ab418cffd18be7a6b4adc7256
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
TRBA is a scene text recognizer whose name spells out its parts: TPS, ResNet, BiLSTM and Attn. It comes from a paper about comparison more than invention, which argues that a holistic and fair comparison of scene text recognition models had been largely missing because training and evaluation datasets were chosen inconsistently. The official repository calls TRBA its best accuracy model.
The paper decomposes a recognizer into four stages. The first is a thin-plate spline (TPS) transformation that normalizes curved and perspective text into a standardized view. The second is a ResNet, a CNN with residual connections, that extracts the visual features. A bidirectional LSTM then turns the sequence of feature columns into a sequence with more context. The last stage predicts characters with attention, which the paper says lets the model learn a character-level language model.
The authors evaluated all 24 module combinations that the four-stage framework allows. In their speed analysis, adding ResNet, BiLSTM and TPS to the fastest combination raised the measured accuracy from 69.5% to 82.9%, and the final change to attention added only 1.1% at a large cost in speed. The repository states that entries based on this framework recorded 1st place in ICDAR2013 focused scene text and ICDAR2019 ArT.
Key idea. The paper introduces a unified four-stage scene text recognition framework that most existing models fit into and compares its module combinations on consistent datasets.
- trba
- tps-resnet-bilstm-attn
- scene text recognition
- str
- four-stage str framework
- deep text recognition benchmark
- thin-plate spline
- attention decoder
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{baek2019wrongscenetextrecognition,
title={What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis},
author={Jeonghun Baek and Geewook Kim and Junyeop Lee and Sungrae Park and Dongyoon Han and Sangdoo Yun and Seong Joon Oh and Hwalsuk Lee},
year={2019},
eprint={1904.01906},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1904.01906},
}