Papers › Bridging the Gap Between End-to-End and Two-Step Text Spotting

Bridging the Gap Between End-to-End and Two-Step Text Spotting

6 Apr 2024CVPR 2024 1arXiv:2404.04624archive 2025-07-28

Mingxin Huang, Hongliang Li, Yuliang Liu, Xiang Bai, Lianwen Jin

Modularity plays a crucial role in the development and maintenance of complex systems. While end-to-end text spotting efficiently mitigates the issues of error accumulation and sub-optimal performance seen in traditional two-step methodologies, the two-step methods continue to be favored in many competitions and practical settings due to their superior modularity. In this paper, we introduce Bridging Text Spotting, a novel approach that resolves the error accumulation and suboptimal performance issues in two-step methods while retaining modularity. To achieve this, we adopt a well-trained detector and recognizer that are developed and trained independently and then lock their parameters to preserve their already acquired capabilities. Subsequently, we introduce a Bridge that connects the locked detector and recognizer through a zero-initialized neural network. This zero-initialized neural network, initialized with weights set to zeros, ensures seamless integration of the large receptive field features in detection into the locked recognizer. Furthermore, since the fixed detector and recognizer cannot naturally acquire end-to-end optimization features, we adopt the Adapter to facilitate their efficient learning of these features. We demonstrate the effectiveness of the proposed method through extensive experiments: Connecting the latest detector and recognizer through Bridging Text Spotting, we achieved an accuracy of 83.3% on Total-Text, 69.8% on CTW1500, and 89.5% on ICDAR 2015. The code is available at https://github.com/mxin262/Bridging-Text-Spotting.

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="2404.04624")

Code

Syntology Ran 26 of 37 code samples harvested from 4 repositories linked to this paper; 11 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 20 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 5 ran; community (archive-listed): 30 samples from 3 repositories, 20 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mxin262/bridging-text-spotting officialmentioned in papermentioned on GitHubpytorch report
husterpzh/pssr mentioned on GitHubpytorch report
mxin262/estextspotter mentioned on GitHubpytorch report
mxin262/swintextspotter 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

37 samples harvested; 26 ran; 2 honoured the contract we drafted; 11 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 · honoured contract
2ran · our draft was wrong
2ran · fixture could not drive it
20ran
11unverified

Licence: 23 of the 37 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 4 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

Attention mxin262/bridging-text-spotting/adet/modeling/bridge.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · f07a7b5124daa4d3 · report
Block mxin262/bridging-text-spotting/adet/modeling/bridge.py official repository ran licence not identified · pointer only · 5ad9f4a5115fc2c9 · report
DropPath mxin262/bridging-text-spotting/adet/modeling/bridge.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · 7d9a8a01e3d8b2af · report
PatchEmbed mxin262/bridging-text-spotting/adet/modeling/bridge.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 36ec904c3b4e4e27 · report
get_sinusoid_encoding_table mxin262/bridging-text-spotting/adet/modeling/bridge.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · e270b1e0375e984c · report
Bridge mxin262/bridging-text-spotting/adet/modeling/bridge.py official repository unverified licence not identified · pointer only · 179df4b05daa85e4 · report
Attention husterpzh/pssr/model.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · a55e20272adb06c8 · report
AttentionCell husterpzh/pssr/model.py community (archive-listed) ran Apache-2.0 (permissive) · 87ec0a6342858e38 · report
BidirectionalLSTM husterpzh/pssr/model.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 0a490b941ecc0d0b · report
GRCL husterpzh/pssr/model.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · ad2aab77e017ae44 · report
GRCL_unit husterpzh/pssr/model.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 2d06924d44e4a05f · report
GridGenerator husterpzh/pssr/model.py community (archive-listed) ran · metamorphic tier: invariant Apache-2.0 (permissive) · 345b61e3a6a59f12 · report
LocalizationNetwork husterpzh/pssr/model.py community (archive-listed) ran · metamorphic tier: invariant Apache-2.0 (permissive) · e3f116bb52340904 · report
MLP mxin262/estextspotter/models/ests/ests.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · d71ab24dd4408288 · report
NestedTensor mxin262/estextspotter/models/ests/ests.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 6efd3189a09cd0af · report
ResNet husterpzh/pssr/model.py community (archive-listed) ran Apache-2.0 (permissive) · f0555475dca7332a · report
VGG_FeatureExtractor husterpzh/pssr/model.py community (archive-listed) ran · metamorphic tier: invariant Apache-2.0 (permissive) · 2ac69ad6b536be49 · report
_max_by_axis mxin262/estextspotter/models/ests/ests.py community (archive-listed) ran · honoured contract no licence file found · pointer only · ef393284ce3c9ea1 · report
batched_nms mxin262/swintextspotter/detectron2/layers/nms.py community (archive-listed) ran no licence file found · pointer only · 5a3c7069b28e9ffb · report
convert_basic_c2_names mxin262/swintextspotter/detectron2/checkpoint/c2_model_loading.py community (archive-listed) ran no licence file found · pointer only · e8526a516b4f9206 · report
convert_c2_detectron_names mxin262/swintextspotter/detectron2/checkpoint/c2_model_loading.py community (archive-listed) ran no licence file found · pointer only · e36f87059208bb7e · report
dn_post_process mxin262/estextspotter/models/ests/ests.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 5bcf7dfb561bb961 · report
nested_tensor_from_tensor_list mxin262/estextspotter/models/ests/ests.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 6309c6cf50423938 · report
pad_masks mxin262/swintextspotter/detectron2/layers/mask_ops.py community (archive-listed) ran fingerprinted no licence file found · pointer only · 406f84cf799ed34d · report
paste_mask_in_image_old mxin262/swintextspotter/detectron2/layers/mask_ops.py community (archive-listed) ran no licence file found · pointer only · d03592674030077f · report
prepare_for_cdn mxin262/estextspotter/models/ests/ests.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · ac9fc8884bc0cd7d · report
BasicBlock husterpzh/pssr/model.py community (archive-listed) unverified Apache-2.0 (permissive) · a06d957836eecfd1 · report
ESTS mxin262/estextspotter/models/ests/ests.py community (archive-listed) unverified no licence file found · pointer only · 2402a1a05761b00a · report
Model husterpzh/pssr/model.py community (archive-listed) unverified Apache-2.0 (permissive) · e3d0360e5fe8ab89 · report
RCNN_FeatureExtractor husterpzh/pssr/model.py community (archive-listed) unverified Apache-2.0 (permissive) · ef5e9a2a130e79ff · report
ResNet_FeatureExtractor husterpzh/pssr/model.py community (archive-listed) unverified Apache-2.0 (permissive) · 5a4873d904275392 · report
TPS_SpatialTransformerNetwork husterpzh/pssr/model.py community (archive-listed) unverified Apache-2.0 (permissive) · 6717e6516dabf3ca · report
_onnx_nested_tensor_from_tensor_list mxin262/estextspotter/models/ests/ests.py community (archive-listed) unverified no licence file found · pointer only · 5772986b5d3cd55c · report
align_and_update_state_dicts mxin262/swintextspotter/detectron2/checkpoint/c2_model_loading.py community (archive-listed) unverified no licence file found · pointer only · ac2638463572c152 · report
batched_nms_rotated mxin262/swintextspotter/detectron2/layers/nms.py community (archive-listed) unverified no licence file found · pointer only · b112e6eead8331b7 · report
nms_rotated mxin262/swintextspotter/detectron2/layers/nms.py community (archive-listed) unverified no licence file found · pointer only · ca61f088e7266086 · report
inverse_sigmoid identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 6897880b6ce14c94 · report

Tasks

Text Spotting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdapterSET

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