Papers › Towards Robust Scene Text Image Super-resolution via Explicit Location Enhancement

Towards Robust Scene Text Image Super-resolution via Explicit Location Enhancement

19 Jul 2023arXiv:2307.09749archive 2025-07-28

Hang Guo, Tao Dai, Guanghao Meng, Shu-Tao Xia

Scene text image super-resolution (STISR), aiming to improve image quality while boosting downstream scene text recognition accuracy, has recently achieved great success. However, most existing methods treat the foreground (character regions) and background (non-character regions) equally in the forward process, and neglect the disturbance from the complex background, thus limiting the performance. To address these issues, in this paper, we propose a novel method LEMMA that explicitly models character regions to produce high-level text-specific guidance for super-resolution. To model the location of characters effectively, we propose the location enhancement module to extract character region features based on the attention map sequence. Besides, we propose the multi-modal alignment module to perform bidirectional visual-semantic alignment to generate high-quality prior guidance, which is then incorporated into the super-resolution branch in an adaptive manner using the proposed adaptive fusion module. Experiments on TextZoom and four scene text recognition benchmarks demonstrate the superiority of our method over other state-of-the-art methods. Code is available at https://github.com/csguoh/LEMMA.

PaperPDFCodeCode 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="2307.09749")

Code

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

By repository: official repository: 16 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

csguoh/lemma officialmentioned in papermentioned on GitHubpytorchApache-2.0 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

16 samples harvested; 14 ran; 0 honoured the contract we drafted; 2 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.

1ran · violated contract
5ran · our draft was wrong
1ran · fixture could not drive it
7ran
2unverified

Licence: 0 of the 16 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 csguoh/LEMMA. “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.

buf2PIL csguoh/LEMMA/dataset/dataset.py official repository ran Apache-2.0 (permissive) · 0e7558f55e4382d4 · report
build_output_control_points csguoh/LEMMA/model/tps_spatial_transformer.py official repository ran Apache-2.0 (permissive) · c639f82b23c93b90 · report
central_crop csguoh/LEMMA/dataset/dataset.py official repository ran Apache-2.0 (permissive) · 5145b55a583f368b · report
clones csguoh/LEMMA/loss/text_focus_loss.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 84ee72bc513b03f8 · report
compute_partial_repr csguoh/LEMMA/model/tps_spatial_transformer.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · e1814689377a5c82 · report
conv1x1 csguoh/LEMMA/model/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 6ef392f365cc5703 · report
conv3x3 csguoh/LEMMA/model/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · fac5364e2f53c6db · report
conv3x3_block csguoh/LEMMA/model/stn_head.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b59cd9ce9c63bd48 · report
decoder_layer csguoh/LEMMA/model/attention.py official repository ran Apache-2.0 (permissive) · 138752fa9826a05c · report
encoder_layer csguoh/LEMMA/model/attention.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 6d0a2c5e1e8c4121 · report
grid_sample csguoh/LEMMA/model/tps_spatial_transformer.py official repository ran Apache-2.0 (permissive) · 47ad53774f24d324 · report
multi_head_attention_forward csguoh/LEMMA/model/transformer.py official repository ran Apache-2.0 (permissive) · 0ca1572c9755ffd9 · report
rand_crop csguoh/LEMMA/dataset/dataset.py official repository ran Apache-2.0 (permissive) · 9a57c2af22605595 · report
subsequent_mask csguoh/LEMMA/loss/text_focus_loss.py official repository ran · violated contract Apache-2.0 (permissive) · dd03765c7da9ca51 · report
decoder_layer csguoh/LEMMA/model/Position_aware_module.py official repository unverified Apache-2.0 (permissive) · fe870f1e0bb99261 · report
encoder_layer csguoh/LEMMA/model/Position_aware_module.py official repository unverified Apache-2.0 (permissive) · f9c8307f0bce54a3 · report

Tasks

Image Super-ResolutionLEMMAScene Text RecognitionSuper-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