Papers › A Text Attention Network for Spatial Deformation Robust Scene Text Image Super-resolution

A Text Attention Network for Spatial Deformation Robust Scene Text Image Super-resolution

17 Mar 2022CVPR 2022 1arXiv:2203.09388archive 2025-07-28

jianqi ma, Zhetong Liang, Lei Zhang

Scene text image super-resolution aims to increase the resolution and readability of the text in low-resolution images. Though significant improvement has been achieved by deep convolutional neural networks (CNNs), it remains difficult to reconstruct high-resolution images for spatially deformed texts, especially rotated and curve-shaped ones. This is because the current CNN-based methods adopt locality-based operations, which are not effective to deal with the variation caused by deformations. In this paper, we propose a CNN based Text ATTention network (TATT) to address this problem. The semantics of the text are firstly extracted by a text recognition module as text prior information. Then we design a novel transformer-based module, which leverages global attention mechanism, to exert the semantic guidance of text prior to the text reconstruction process. In addition, we propose a text structure consistency loss to refine the visual appearance by imposing structural consistency on the reconstructions of regular and deformed texts. Experiments on the benchmark TextZoom dataset show that the proposed TATT not only achieves state-of-the-art performance in terms of PSNR/SSIM metrics, but also significantly improves the recognition accuracy in the downstream text recognition task, particularly for text instances with multi-orientation and curved shapes. Code is available at https://github.com/mjq11302010044/TATT.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.09388")

Code

Syntology Ran 18 of 25 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 15 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 14 ran; community (archive-listed): 6 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mjq11302010044/tatt officialmentioned in papermentioned on GitHubpytorchMIT report
zhaominyiz/c3-stisr mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 18 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
15ran
7unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ConvEncoder mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 72bca38f7becc86d · report
PositionalEncoding mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: invariant MIT (permissive) · b174887b7f685284 · report
SRResConvDecoder mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: invariant MIT (permissive) · 35a157f73c775df0 · report
TPSSpatialTransformer mjq11302010044/TATT/model/transformerSR.py official repository ran MIT (permissive) · ad607f18cb194718 · report
TransformerDecoder mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 709bb74fd9d3756c · report
TransformerDecoderLayer mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: deterministic MIT (permissive) · fc38364146e4b3a4 · report
TransformerDecoderLayer_TP mjq11302010044/TATT/model/transformerSR.py official repository ran MIT (permissive) · 61cf3075977a65fb · report
TransformerEncoder mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 362e18db540151f7 · report
TransformerEncoderLayer mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 5d4de4fe8da8b3bc · report
UpsampleBLock mjq11302010044/TATT/model/transformerSR.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 9c3f0411c3daa744 · report
_get_clones mjq11302010044/TATT/model/transformerSR.py official repository ran · our draft was wrong MIT (permissive) · c011ff5da6d9bcf3 · report
build_output_control_points mjq11302010044/TATT/model/transformerSR.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · e148691b723e906e · report
conv3x3_block mjq11302010044/TATT/model/transformerSR.py official repository ran · our draft was wrong MIT (permissive) · eaa30ce1342b3853 · report
grid_sample mjq11302010044/TATT/model/transformerSR.py official repository ran MIT (permissive) · 47ad53774f24d324 · report
InfoGenTrans mjq11302010044/TATT/model/transformerSR.py official repository unverified MIT (permissive) · d907bd3a32007ddd · report
InfoTransformer mjq11302010044/TATT/model/transformerSR.py official repository unverified MIT (permissive) · a66d691bbfa01975 · report
ResidualBlock mjq11302010044/TATT/model/transformerSR.py official repository unverified MIT (permissive) · ffea63c58c2f8eb8 · report
SRTransformer_V4 mjq11302010044/TATT/model/transformerSR.py official repository unverified MIT (permissive) · 297be0ef27a83aa1 · report
STNHead mjq11302010044/TATT/model/transformerSR.py official repository unverified MIT (permissive) · b518b64e684e26e2 · report
GruBlock zhaominyiz/c3-stisr/model/c3.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · debb069fbbbe79b8 · report
RecurrentResidualBlockTL zhaominyiz/c3-stisr/model/c3.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 12b4f9480b2c839e · report
UpsampleBLock zhaominyiz/c3-stisr/model/c3.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 2d273b67edeabc41 · report
mish zhaominyiz/c3-stisr/model/c3.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 2bc017e584227198 · report
TPInterpreter zhaominyiz/c3-stisr/model/c3.py community (archive-listed) unverified Apache-2.0 (permissive) · 532bb6dd349eb8fe · report
TSRN_TL_TRANS zhaominyiz/c3-stisr/model/c3.py community (archive-listed) unverified Apache-2.0 (permissive) · 7764f17a0b0cf401 · report

Tasks

Image Super-ResolutionSSIMSuper-Resolution

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections