feat: Korean handwriting recognition model for RapidOCR: drop-in PP-OCRv5 rec, 67% → 97% on handwritten words

Open
#772 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
43/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start with the linked discussion and the external model release to understand the proposal and available files; the issue names no RapidOCR source files or tests. Check how RapidOCR currently documents or exposes recognition models, then determine what project change is being requested and how it can be verified. Done should mean the agreed integration or documentation makes the model usable as described.

Written by the indexing model from the issue text.

Description

Discussed in https://github.com/RapidAI/RapidOCR/discussions/760

Originally posted by VerifiedIdiot October 18, 2026
Hi all. I fine-tuned the PP-OCRv5 Korean recognition model (korean_PP-OCRv5_mobile_rec) on 4.6M Korean word images of handwriting and printed government forms from AI Hub, and released it as korean-handwriting-rec under Apache-2.0.

It keeps the original input/output and the same 11,945-character dictionary, so any PP-OCRv5 ONNX pipeline can use it by swapping the recognition model. With RapidOCR 3.x:

from rapidocr import RapidOCR

engine = RapidOCR(params={
    "Rec.model_path": "model/rec_korean_hw.onnx",
    "Rec.rec_keys_path": "model/ppocrv5_korean_dict.txt",
})
result = engine("scan.png")

Results on held-out sets (word accuracy, the whole word must match):

Evaluation set korean_PP-OCRv5_mobile_rec korean-handwriting-rec
Handwritten words (20K) 67.2% 97.4%
Handwriting by 15 unseen writers (6K words) 56.7% 99.1%
Printed text on 5 unseen government forms (6K words) 88.7% 99.2%
Cursive sentences, CER (1.3K, lower is better) 30.0% 7.8%

Thanks to the PaddleOCR and RapidOCR teams for the base model and the runtime. Feedback is welcome.

Dominant language
Python
Stars
8.7k
Forks
787
Avg merge
6d 20h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RapidAI/RapidOCR

All issues in RapidAI/RapidOCR

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.