UPOCR: Towards Unified Pixel-Level OCR Interface

Dezhi Peng, Zhenhua Yang, Jiaxin Zhang, Chongyu Liu, Yongxin Shi +3 more
2/12/2026

No official code found. Best implementation: shannanyinxiang/UPOCR (70 stars, last commit 2024-06-06).

Abstract

In recent years, the optical character recognition (OCR) field has been proliferating with plentiful cutting-edge approaches for a wide spectrum of tasks. However, these approaches are task-specifically designed with divergent paradigms, architectures, and training strategies, which significantly increases the complexity of research and maintenance and hinders the fast deployment in applications. To this end, we propose UPOCR, a simple-yet-effective generalist model for Unified Pixel-level OCR interface. Specifically, the UPOCR unifies the paradigm of diverse OCR tasks as image-to-image transformation and the architecture as a vision Transformer (ViT)-based encoder-decoder. Learnable task prompts are introduced to push the general feature representations extracted by the encoder toward task-specific spaces, endowing the decoder with task awareness. Moreover, the model training is uniformly aimed at minimizing the discrepancy between the generated and ground-truth images regardless of the inhomogeneity among tasks. Experiments are conducted on three pixel-level OCR tasks including text removal, text segmentation, and tampered text detection. Without bells and whistles, the experimental results showcase that the proposed method can simultaneously achieve state-of-the-art performance on three tasks with a unified single model, which provides valuable strategies and insights for future research on generalist OCR models. Code will be publicly available.

View on arXivView PDF

Code Implementations(1)

Official implementation of UPOCR: Towards unified pixel-level OCR interface (ICML 2024)

708PythonMay 29, 20242 years ago

Similar Papers

Cite this paper

@article{peng2026upocr,
  title  = {UPOCR: Towards Unified Pixel-Level OCR Interface},
  author = {Dezhi Peng and Zhenhua Yang and Jiaxin Zhang and Chongyu Liu and Yongxin Shi and Kai Ding and Fengjun Guo and Lianwen Jin},
  year   = {2026},
  eprint = {2312.02694},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.02694},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.02694.svg)](https://codeofpaper.com/paper/2312.02694)

Discussion