Papers › Efficient and Accurate Arbitrary-Shaped Text Detection with Pixel Aggregation Network

Efficient and Accurate Arbitrary-Shaped Text Detection with Pixel Aggregation Network

16 Aug 2019ICCV 2019 10arXiv:1908.05900archive 2025-07-28

Wenhai Wang, Enze Xie, Xiaoge Song, Yuhang Zang, Wenjia Wang, Tong Lu, Gang Yu, Chunhua Shen

Scene text detection, an important step of scene text reading systems, has witnessed rapid development with convolutional neural networks. Nonetheless, two main challenges still exist and hamper its deployment to real-world applications. The first problem is the trade-off between speed and accuracy. The second one is to model the arbitrary-shaped text instance. Recently, some methods have been proposed to tackle arbitrary-shaped text detection, but they rarely take the speed of the entire pipeline into consideration, which may fall short in practical applications.In this paper, we propose an efficient and accurate arbitrary-shaped text detector, termed Pixel Aggregation Network (PAN), which is equipped with a low computational-cost segmentation head and a learnable post-processing. More specifically, the segmentation head is made up of Feature Pyramid Enhancement Module (FPEM) and Feature Fusion Module (FFM). FPEM is a cascadable U-shaped module, which can introduce multi-level information to guide the better segmentation. FFM can gather the features given by the FPEMs of different depths into a final feature for segmentation. The learnable post-processing is implemented by Pixel Aggregation (PA), which can precisely aggregate text pixels by predicted similarity vectors. Experiments on several standard benchmarks validate the superiority of the proposed PAN. It is worth noting that our method can achieve a competitive F-measure of 79.9% at 84.2 FPS on CTW1500.

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

Code

Syntology Ran 4 of 28 code samples harvested from 3 repositories linked to this paper; 24 have no recorded run. Of those that ran: 4 ran · our draft was wrong.

By repository: community (archive-listed): 28 samples from 3 repositories, 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.

whai362/pan_pp.pytorch officialpytorchApache-2.0 report
WenmuZhou/PAN.pytorch mentioned on GitHubpytorchApache-2.0 report
liuch37/pan-pytorch mentioned on GitHubpytorchMIT report
liuch37/pan-tensorflow mentioned on GitHubtfMIT report
open-mmlab/mmocr pytorchApache-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

28 samples harvested; 4 ran; 0 honoured the contract we drafted; 24 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.

4ran · our draft was wrong
24unverified

Licence: 0 of the 28 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 3 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.

channel_shuffle WenmuZhou/PAN.pytorch/models/modules/shufflenetv2.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b9da06d4f527dd6c · report
conv1x1 WenmuZhou/PAN.pytorch/models/modules/resnet.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · d9def42110729a85 · report
conv3x3 WenmuZhou/PAN.pytorch/models/modules/resnet.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 160bb14bd76201b4 · report
conv3x3 liuch37/pan-pytorch/models/backbone.py community (archive-listed) ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
PolyArea liuch37/pan-pytorch/dataset/ctw1500.py community (archive-listed) unverified MIT (permissive) · f97b05c3ab59a119 · report
check_and_validate_polys WenmuZhou/PAN.pytorch/data_loader/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 07471b3162a18b9d · report
decode_clip WenmuZhou/PAN.pytorch/predict.py community (archive-listed) unverified Apache-2.0 (permissive) · 25a919a778671afa · report
emb_loss liuch37/pan-pytorch/loss/loss.py community (archive-listed) unverified MIT (permissive) · 927fb2481306a5de · report
emb_loss liuch37/pan-tensorflow/loss/loss.py community (archive-listed) unverified MIT (permissive) · a45ff300d0cdd84c · report
get_ann liuch37/pan-pytorch/dataset/ctw1500.py community (archive-listed) unverified MIT (permissive) · 2134919556a5d8de · report
get_img liuch37/pan-pytorch/dataset/ctw1500.py community (archive-listed) unverified MIT (permissive) · a059931bb3567d91 · report
iou liuch37/pan-pytorch/loss/iou.py community (archive-listed) unverified MIT (permissive) · f4570a660dddfa8b · report
iou liuch37/pan-tensorflow/loss/iou.py community (archive-listed) unverified MIT (permissive) · 3afac97676b332d4 · report
iou_single liuch37/pan-pytorch/loss/iou.py community (archive-listed) unverified MIT (permissive) · 0fb06a61e1673f4f · report
iou_single liuch37/pan-tensorflow/loss/iou.py community (archive-listed) unverified MIT (permissive) · 9e9653c6a1f39984 · report
kernel_loss liuch37/pan-pytorch/loss/loss.py community (archive-listed) unverified MIT (permissive) · 722fdf25331ac85e · report
kernel_loss liuch37/pan-tensorflow/loss/loss.py community (archive-listed) unverified MIT (permissive) · 63aa7e5f45cfc6b3 · report
km WenmuZhou/PAN.pytorch/post_processing/kmeans.py community (archive-listed) unverified Apache-2.0 (permissive) · b9d5437cc5942052 · report
ohem_batch liuch37/pan-pytorch/loss/ohem.py community (archive-listed) unverified MIT (permissive) · 2689775f7bfd7b79 · report
ohem_batch liuch37/pan-tensorflow/loss/ohem.py community (archive-listed) unverified MIT (permissive) · 32d6a41495711b3c · report
ohem_single liuch37/pan-pytorch/loss/ohem.py community (archive-listed) unverified MIT (permissive) · 2baa67cdece3bfb9 · report
ohem_single liuch37/pan-tensorflow/loss/ohem.py community (archive-listed) unverified MIT (permissive) · b9b15dfa78b4cbf1 · report
quadratic WenmuZhou/PAN.pytorch/data_loader/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · a133283a2aa3440f · report
resnet18 liuch37/pan-pytorch/models/backbone.py community (archive-listed) unverified MIT (permissive) · 7b3c1056dcd60fb3 · report
resnet50 liuch37/pan-pytorch/models/backbone.py community (archive-listed) unverified MIT (permissive) · a72c6ccea07df858 · report
text_loss liuch37/pan-pytorch/loss/loss.py community (archive-listed) unverified MIT (permissive) · 5dd591bbb9fec9e4 · report
text_loss liuch37/pan-tensorflow/loss/loss.py community (archive-listed) unverified MIT (permissive) · 31bc9cc1279d9178 · report
unshrink_offset WenmuZhou/PAN.pytorch/data_loader/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · d1012dc3a8f720ea · report

Tasks

Scene Text DetectionSegmentationText Detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Scene Text Detection ICDAR 2015 TextSnake F-Measure 82.6 #34 of 43 Archive leaderboard report
Scene Text Detection ICDAR 2015 TextSnake Precision 84.9 #34 of 43 Archive leaderboard report
Scene Text Detection ICDAR 2015 TextSnake Recall 80.4 #34 of 43 Archive leaderboard report
Scene Text Detection MSRA-TD500 PAN F-Measure 84.1 #9 of 18 Archive leaderboard report
Scene Text Detection MSRA-TD500 PAN Recall 83.8 #9 of 18 Archive leaderboard report
Scene Text Detection SCUT-CTW1500 PAN-640 F-Measure 83.7 #8 of 17 Archive leaderboard report
Scene Text Detection SCUT-CTW1500 PAN-640 Precision 86.4 #8 of 17 Archive leaderboard report
Scene Text Detection SCUT-CTW1500 PAN-640 Recall 81.2 #8 of 17 Archive leaderboard report
Scene Text Detection Total-Text PAN-640 F-Measure 85% #13 of 27 Archive leaderboard report
Scene Text Detection Total-Text PAN-640 Precision 89.3 #13 of 27 Archive leaderboard report
Scene Text Detection Total-Text PAN-640 Recall 81 #13 of 27 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.

Methods

SPEED

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