Papers › SwinTextSpotter: Scene Text Spotting via Better Synergy between Text Detection and...

SwinTextSpotter: Scene Text Spotting via Better Synergy between Text Detection and Text Recognition

19 Mar 2022CVPR 2022 1arXiv:2203.10209archive 2025-07-28

Mingxin Huang, Yuliang Liu, Zhenghao Peng, Chongyu Liu, Dahua Lin, Shenggao Zhu, Nicholas Yuan, Kai Ding, Lianwen Jin

End-to-end scene text spotting has attracted great attention in recent years due to the success of excavating the intrinsic synergy of the scene text detection and recognition. However, recent state-of-the-art methods usually incorporate detection and recognition simply by sharing the backbone, which does not directly take advantage of the feature interaction between the two tasks. In this paper, we propose a new end-to-end scene text spotting framework termed SwinTextSpotter. Using a transformer encoder with dynamic head as the detector, we unify the two tasks with a novel Recognition Conversion mechanism to explicitly guide text localization through recognition loss. The straightforward design results in a concise framework that requires neither additional rectification module nor character-level annotation for the arbitrarily-shaped text. Qualitative and quantitative experiments on multi-oriented datasets RoIC13 and ICDAR 2015, arbitrarily-shaped datasets Total-Text and CTW1500, and multi-lingual datasets ReCTS (Chinese) and VinText (Vietnamese) demonstrate SwinTextSpotter significantly outperforms existing methods. Code is available at https://github.com/mxin262/SwinTextSpotter.

PaperPDFConference PDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

No sample from the archive's official repository (mxin262/swintextspotter) is linked to this paper; the 5 samples below come from 1 community repository. Syntology harvested code from mxin262/swintextspotter for another paper.

mxin262/swintextspotter: Syntology's graph links these samples to Bridging the Gap Between End-to-End and Two-Step Text Spotting (arXiv:2404.04624; that paper's own run record: 27 ran (of which 5 constructed an object rather than computing a result; 19 with no instrument failure: 2 honoured, 0 violated, 17 with no contract checked; 8 where Syntology's instrument failed) · 10 unverified); nothing checks that they implement this paper's method.

Syntology 5 code samples harvested from 1 repository linked to this paper: 4 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 2 where Syntology's instrument failed) · 1 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 5 samples from 1 repository, 4 ran (2 with no instrument failure; 2 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 1 of its repositories that Syntology harvested for other papers:

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

mxin262/swintextspotter officialmentioned in papermentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Bridging the Gap Between End-to-End and Two-Step Text Spotting (arXiv:2404.04624; that paper's own run record: 27 ran (of which 5 constructed an object rather than computing a result; 19 with no instrument failure: 2 honoured, 0 violated, 17 with no contract checked; 8 where Syntology's instrument failed) · 10 unverified); nothing checks that they implement this paper's method. report
jacobtyo/swintextspotter mentioned on GitHubpytorchSyntology: 5 samples, 4 ran (2 instrument-failed) · 1 unverified 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

5 samples harvested: 4 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 2 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · our draft was wrong
1ran; the contract check could not run
2ran
1unverified

Licence: 5 of the 5 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 jacobtyo/swintextspotter. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 1 sample that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

jacobtyo/swintextspotter community (archive-listed) 5 samples, 4 ran (2 instrument-failed) · 1 unverified
Mlp in 102 papers projects/SWINTS/swints/FocalTransformer.py ran no licence file found · pointer only · 6bb9db10893a2dc5 · report fixture: returned Mlp · level recorded 2026-09-22
WindowAttention in 50 papers projects/SWINTS/swints/FocalTransformer.py ran no licence file found · pointer only · 35d8ab558bbe8fa5 · report fixture: returned WindowAttention · level recorded 2026-09-22
get_relative_position_index in 11 papers projects/SWINTS/swints/FocalTransformer.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 24b94c61ff92499c · report fixture: signature q_windows:tuple/1/int, k_windows:tuple/1/int · returned Tensor · level recorded 2026-09-22
window_partition_noreshape in 6 papers projects/SWINTS/swints/FocalTransformer.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 7eea7dc3cf233a09 · report fixture: signature x:Tensor/4/float, window_size:int/0/int · returned Tensor · level recorded 2026-09-22
FocalTransformerBlock projects/SWINTS/swints/FocalTransformer.py unverified no licence file found · pointer only · fea7640c6393df7b · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for SwinTextSpotter (graph method: SwinTextSpotter). 7 bricks; individually on a fixture: 6 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 4 where Syntology's instrument failed) · 1 unverified. The assembly has not been run end-to-end.

  1. FocalTransformerBlock entry · level 0 · unverified · fea7640c6393df7b
  2. Mlp model · level 1 · ran · 6bb9db10893a2dc5
  3. WindowAttention model · level 1 · ran · 35d8ab558bbe8fa5
  4. window_partition helper · level 1 · ran; the contract check could not run · f9fd6241d935f07b
  5. window_partition_noreshape helper · level 1 · ran; the contract check could not run (RAISES) · 7eea7dc3cf233a09
  6. window_reverse helper · level 1 · ran · our draft was wrong · fb32094c6dbece71
  7. get_relative_position_index helper · level 1 · ran · our draft was wrong · 24b94c61ff92499c

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2203.10209") returns these assemblies with each brick's role and wiring (how to connect).

Tasks

Scene Text DetectionText DetectionText Spotting

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Text Spotting ICDAR 2015 SwinTextSpotter F-measure (%) - Generic Lexicon 70.5 #9 of 18 Archive leaderboard report
Text Spotting ICDAR 2015 SwinTextSpotter F-measure (%) - Strong Lexicon 83.9 #9 of 18 Archive leaderboard report
Text Spotting ICDAR 2015 SwinTextSpotter F-measure (%) - Weak Lexicon 77.3 #9 of 18 Archive leaderboard report
Text Spotting Inverse-Text SwinTextSpotter F-measure (%) - Full Lexicon 67.9 #3 of 9 Archive leaderboard report
Text Spotting Inverse-Text SwinTextSpotter F-measure (%) - No Lexicon 55.4 #3 of 9 Archive leaderboard report
Text Spotting SCUT-CTW1500 SwinTextSpotter F-Measure (%) - Full Lexicon 77.0 #10 of 11 Archive leaderboard report
Text Spotting SCUT-CTW1500 SwinTextSpotter F-measure (%) - No Lexicon 51.8 #10 of 11 Archive leaderboard report
Text Spotting Total-Text SwinTextSpotter F-measure (%) - Full Lexicon 84.1 #8 of 12 Archive leaderboard report
Text Spotting Total-Text SwinTextSpotter F-measure (%) - No Lexicon 74.3 #8 of 12 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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