{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/robustscanner-dynamically-enhancing","title":"RobustScanner: Dynamically Enhancing Positional Clues for Robust Text Recognition","arxiv_id":"2007.07542","date":"2020-07-15","proceeding":"ECCV 2020 8","authors":["Xiaoyu Yue","Zhanghui Kuang","Chenhao Lin","Hongbin Sun","Wayne Zhang"],"abstract":"The attention-based encoder-decoder framework has recently achieved impressive results for scene text recognition, and many variants have emerged with improvements in recognition quality. However, it performs poorly on contextless texts (e.g., random character sequences) which is unacceptable in most of real application scenarios. In this paper, we first deeply investigate the decoding process of the decoder. We empirically find that a representative character-level sequence decoder utilizes not only context information but also positional information. Contextual information, which the existing approaches heavily rely on, causes the problem of attention drift. To suppress such side-effect, we propose a novel position enhancement branch, and dynamically fuse its outputs with those of the decoder attention module for scene text recognition. Specifically, it contains a position aware module to enable the encoder to output feature vectors encoding their own spatial positions, and an attention module to estimate glimpses using the positional clue (i.e., the current decoding time step) only. The dynamic fusion is conducted for more robust feature via an element-wise gate mechanism. Theoretically, our proposed method, dubbed \\emph{RobustScanner}, decodes individual characters with dynamic ratio between context and positional clues, and utilizes more positional ones when the decoding sequences with scarce context, and thus is robust and practical. Empirically, it has achieved new state-of-the-art results on popular regular and irregular text recognition benchmarks while without much performance drop on contextless benchmarks, validating its robustness in both contextual and contextless application scenarios.","url_abs":"https://arxiv.org/abs/2007.07542v2","url_pdf":"https://arxiv.org/pdf/2007.07542v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"robustscanner-dynamically-enhancing","repo_url":"https://github.com/open-mmlab/mmocr/blob/main/configs/textrecog/robust_scanner/README.md","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"robustscanner-dynamically-enhancing","repo_url":"https://github.com/smilelite/RobustScanner.paddle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"paddle","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"robustscanner-dynamically-enhancing","repo_url":"https://github.com/PaddlePaddle/PaddleOCR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"paddle","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"robustscanner-dynamically-enhancing","repo_url":"https://github.com/mindspore-lab/mindocr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}},{"paper_slug":"robustscanner-dynamically-enhancing","repo_url":"https://github.com/topdu/openocr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"irregular-text-recognition","task_name":"Irregular Text Recognition"},{"task_slug":null,"task_name":"Position"},{"task_slug":"scene-text-recognition","task_name":"Scene Text Recognition"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2007.07542","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.07542"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/PaddlePaddle/PaddleOCR","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/open-mmlab/mmocr/blob/main/configs/textrecog/robust_scanner/README.md","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/smilelite/RobustScanner.paddle","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mindspore-lab/mindocr","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/topdu/openocr","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_violates":1,"unverified":3},"by_repo_kind":{"listed":{"samples":4,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"7373b3408ee13c1c","entry":"str2bool","repo":"smilelite/RobustScanner.paddle","repo_kind":"listed","path":"PPOCRLabel/PPOCRLabel.py","file_url":"https://github.com/smilelite/RobustScanner.paddle/blob/HEAD/PPOCRLabel/PPOCRLabel.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7373b3408ee13c1c"}},{"code_sha256_prefix":"0769a6bb4dc29a4c","entry":"inverted","repo":"smilelite/RobustScanner.paddle","repo_kind":"listed","path":"PPOCRLabel/PPOCRLabel.py","file_url":"https://github.com/smilelite/RobustScanner.paddle/blob/HEAD/PPOCRLabel/PPOCRLabel.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0769a6bb4dc29a4c"}},{"code_sha256_prefix":"4d425329727ab522","entry":"parse_lang","repo":"smilelite/RobustScanner.paddle","repo_kind":"listed","path":"paddleocr.py","file_url":"https://github.com/smilelite/RobustScanner.paddle/blob/HEAD/paddleocr.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4d425329727ab522"}},{"code_sha256_prefix":"14b9c019942ef1b5","entry":"read","repo":"smilelite/RobustScanner.paddle","repo_kind":"listed","path":"PPOCRLabel/PPOCRLabel.py","file_url":"https://github.com/smilelite/RobustScanner.paddle/blob/HEAD/PPOCRLabel/PPOCRLabel.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"14b9c019942ef1b5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}