Papers › PP-OCR: A Practical Ultra Lightweight OCR System

PP-OCR: A Practical Ultra Lightweight OCR System

21 Sep 2020arXiv:2009.09941archive 2025-07-28

Yuning Du, Chenxia Li, Ruoyu Guo, Xiaoting Yin, Weiwei Liu, Jun Zhou, Yifan Bai, Zilin Yu, Yehua Yang, Qingqing Dang, Haoshuang Wang

The Optical Character Recognition (OCR) systems have been widely used in various of application scenarios, such as office automation (OA) systems, factory automations, online educations, map productions etc. However, OCR is still a challenging task due to the various of text appearances and the demand of computational efficiency. In this paper, we propose a practical ultra lightweight OCR system, i.e., PP-OCR. The overall model size of the PP-OCR is only 3.5M for recognizing 6622 Chinese characters and 2.8M for recognizing 63 alphanumeric symbols, respectively. We introduce a bag of strategies to either enhance the model ability or reduce the model size. The corresponding ablation experiments with the real data are also provided. Meanwhile, several pre-trained models for the Chinese and English recognition are released, including a text detector (97K images are used), a direction classifier (600K images are used) as well as a text recognizer (17.9M images are used). Besides, the proposed PP-OCR are also verified in several other language recognition tasks, including French, Korean, Japanese and German. All of the above mentioned models are open-sourced and the codes are available in the GitHub repository, i.e., https://github.com/PaddlePaddle/PaddleOCR.

PaperPDFCodeCode Syntology ran

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 (PaddlePaddle/PaddleOCR) is linked to this paper; the 12 samples below come from 4 community repositories. Syntology harvested code from PaddlePaddle/PaddleOCR for another paper.

PaddlePaddle/PaddleOCR: Syntology's graph links these samples to KRETA: A Benchmark for Korean Reading and Reasoning in Text-Rich VQA Attuned to... (arXiv:2508.19944; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 3 violated, 0 with no contract checked; 3 where Syntology's instrument failed) · 2 unverified); nothing checks that they implement this paper's method.

Syntology 12 code samples harvested from 4 repositories linked to this paper: 9 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 0 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: community (archive-listed): 12 samples from 4 repositories, 9 ran (9 with no instrument failure; 0 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 2 of its repositories that Syntology harvested for other papers:

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

PaddlePaddle/PaddleOCR officialmentioned in papermentioned on GitHubpaddleApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to KRETA: A Benchmark for Korean Reading and Reasoning in Text-Rich VQA Attuned to... (arXiv:2508.19944; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 3 violated, 0 with no contract checked; 3 where Syntology's instrument failed) · 2 unverified); nothing checks that they implement this paper's method. report
Evezerest/DocRec mentioned on GitHubpaddleSyntology: not harvested report
JasonZK/Soccer_OCR mentioned on GitHubpaddleApache-2.0Syntology: 6 samples, 4 ran (0 instrument-failed) · 2 unverified report
Mushroomcat9998/PaddleOCR mentioned on GitHubpaddleApache-2.0Syntology: 4 samples, 3 ran (0 instrument-failed) · 1 unverified report
OneYearIsEnough/PaddleOCR-Recog-LmdbDataset-Conversion mentioned on GitHubpaddleSyntology: not harvested report
frotms/PaddleOCR2Pytorch mentioned on GitHubpytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to PP-OCRv2: Bag of Tricks for Ultra Lightweight OCR System (arXiv:2109.03144; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 0 violated, 6 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
hieu28022000/PaddleOCR mentioned on GitHubpaddleApache-2.0Syntology: not harvested report
qingyu95/ICDAR2017-DATASET mentioned on GitHubpaddleApache-2.0Syntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
raychiu0202/paddleOCR_flask mentioned on GitHubpaddleApache-2.0Syntology: not harvested report
simplify23/Ultra_light_OCR_No.11 mentioned on GitHubpaddleApache-2.0Syntology: 1 sample, 1 ran (0 instrument-failed) · 0 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

12 samples harvested: 9 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 0 where Syntology's instrument failed) · 3 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.

9ran
3unverified

Licence: 0 of the 12 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 4 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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”. “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.

JasonZK/Soccer_OCR community (archive-listed) 6 samples, 4 ran (0 instrument-failed) · 2 unverified
check_line OOP_only_clean_big_ggl.py ran Apache-2.0 (permissive) · 1be3cc75ead87256 · report fixture: signature result_line:list/1/MockLine, LorR:int/0/int, player_name_dic:dict/0/?, big_candidate:dict/0/?, score_time_dic:dict/0/?, i:int/0/int, Player_Time_list:list/1/empty, big_flag:bool/0/bool · returned tuple · level recorded 2026-09-24
check_line OOP_only_clean_big_ggl_tail.py ran Apache-2.0 (permissive) · c7bd3f9d7fb0b8cd · report fixture: signature result_line:list/1/MockLine, LorR:int/0/int, player_name_dic:dict/0/?, big_candidate:dict/0/?, score_time_dic:dict/0/?, i:int/0/int, Player_Time_list:list/1/empty, big_flag:bool/0/bool · returned tuple · level recorded 2026-09-24
evaluate_candidates clean_big_ggl.py ran Apache-2.0 (permissive) · c530a900adfcaf72 · report fixture: signature i:int/0/int, init_candidate:dict/0/?, score_dic:dict/0/?, score_record:list/1/empty, location:bool/0/bool, temp_result:list/1/list, tempResult_index:int/0/int, modify_candidate:dict/0/?, more:int/0/int, gt_y2:NoneType/0/?, big_candidate:dict/0/?, player_score_dic:dict/0/?, player_score_record:list/1/empty, big_flag:bool/0/bool, player_name_dic:dict/0/? · returned tuple · level recorded 2026-09-24
evaluate_candidates clean_ggl.py ran Apache-2.0 (permissive) · 50217119d0dedf6d · report fixture: signature i:int/0/int, init_candidate:dict/0/?, score_dic:dict/0/?, score_record:list/1/empty, location:bool/0/bool, temp_result:list/1/list, tempResult_index:int/0/int, modify_candidate:dict/0/?, more:int/0/int, gt_y2:NoneType/0/? · returned tuple · level recorded 2026-09-24
find_goal_location clean_big_ggl.py unverified Apache-2.0 (permissive) · 3b5fd627a82b176e · report
get_frame_dic big_ggl.py unverified Apache-2.0 (permissive) · 7065c977588feaab · report
Mushroomcat9998/PaddleOCR community (archive-listed) 4 samples, 3 ran (0 instrument-failed) · 1 unverified
ohem_single ppocr/losses/det_basic_loss.py ran Apache-2.0 (permissive) · ea3ff3c86a936513 · report fixture: signature score:ndarray/2/float, gt_text:ndarray/2/float, training_mask:ndarray/2/float, ohem_ratio:float/0/float · returned ndarray · level recorded 2026-09-24
parse_args in 355 papers paddleocr.py ran Apache-2.0 (permissive) · e7ac5ba2f2c58755 · report fixture: signature mMain:bool/0/bool, add_help:bool/0/bool · returned Namespace · level recorded 2026-09-24
read in 34 papers PPOCRLabel/PPOCRLabel.py ran Apache-2.0 (permissive) · 14b9c019942ef1b5 · report fixture: signature filename:str/0/str, default:NoneType/0/? · returned bytes · level recorded 2026-09-24
inverted PPOCRLabel/PPOCRLabel.py unverified Apache-2.0 (permissive) · 0769a6bb4dc29a4c · report
qingyu95/ICDAR2017-DATASET community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
cv2_to_base64 deploy/pdserving/clas_web_client.py ran Apache-2.0 (permissive) · 4f512b08012a4c0f · report fixture: signature image:bytes/0/? · returned str · level recorded 2026-09-24
simplify23/Ultra_light_OCR_No.11 community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
parse_args in 355 papers paddleocr.py ran Apache-2.0 (permissive) · 006a28646179fcce · report fixture: signature mMain:bool/0/bool, add_help:bool/0/bool · returned Namespace · level recorded 2026-09-24

Tasks

Computational EfficiencyOptical Character RecognitionOptical Character Recognition (OCR)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: PP-OCR

PP-OCR

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