Bin Li, Haiyang Yu, Xiangyang Xue, Xiaocong Wang
We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| FudanVI/FudanOCR | — | 4 of 5 |
| Function | Status | Where it lives |
|---|---|---|
| Bottleneck | Ran | FudanVI/FudanOCR/image-ids-CTR/CCR-CLIP/model.py pointer only (licence: NONE) · get_code("3964a61b887ad29d") |
| LayerNorm | Ran | FudanVI/FudanOCR/image-ids-CTR/CCR-CLIP/model.py pointer only (licence: NONE) · get_code("4287507e69b4d25a") |
| ResidualAttentionBlock | Ran | FudanVI/FudanOCR/image-ids-CTR/CCR-CLIP/model.py pointer only (licence: NONE) · get_code("177010bd20c75960") |
| Transformer | Ran | FudanVI/FudanOCR/image-ids-CTR/CCR-CLIP/model.py pointer only (licence: NONE) · get_code("692bca8496692c1f") |
| CLIP | Not yet run | FudanVI/FudanOCR/image-ids-CTR/CCR-CLIP/model.py pointer only (licence: NONE) · get_code("fe215b87ac8d71bf") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Scene text recognition has been studied for decades due to its broad applications. However, despite Chinese characters possessing different characteristics from Latin characters, such as complex inner structures and large categories, few methods have been proposed for Chinese Text Recognition (CTR). Particularly, the characteristic of large categories poses challenges in dealing with zero-shot and few-shot Chinese characters. In this paper, inspired by the way humans recognize Chinese texts, we propose a two-stage framework for CTR. Firstly, we pre-train a CLIP-like model through aligning printed character images and Ideographic Description Sequences (IDS). This pre-training stage simulates humans recognizing Chinese characters and obtains the canonical representation of each character. Subsequently, the learned representations are employed to supervise the CTR model, such that traditional single-character recognition can be improved to text-line recognition through image-IDS matching. To evaluate the effectiveness of the proposed method, we conduct extensive experiments on both Chinese character recognition (CCR) and CTR. The experimental results demonstrate that the proposed method performs best in CCR and outperforms previous methods in most scenarios of the CTR benchmark. It is worth noting that the proposed method can recognize zero-shot Chinese characters in text images without fine-tuning, whereas previous methods require finetuning when new classes appear. The code is available at https://github.com/FudanVI/FudanOCR/tree/main/imageids-CTR.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2309.01083")
get_code_for_paper("2309.01083")
have("2309.01083")
Connect an agent — have() is free.