Singlate OCR · Korean, English, Japanese · Scan & Document
Singlate OCR reads text-line crops from scans, born-digital documents, and photos. This release is a fine-tune of PP-OCRv6 Small Recognition, using its LCNetV4 backbone, LightSVTR encoder, and a three-language CTC vocabulary. The recognizer has 5,728,861 parameters before inference fusion, 22,163 CTC classes including blank, and an input height of 48 px. The quality benchmark uses a 1,280 px cap. Full-page OCR requires text detection and reading-order processing.
한국어·영어·일본어 스캔, 전자문서, 사진의 텍스트 줄 인식용 모델입니다. 전체 페이지를 처리하려면 텍스트 검출과 읽기 순서 처리가 필요합니다.
Usage
The repository includes a Paddle static graph (inference.json, inference.pdiparams, inference.yml), the fine-tuning checkpoint (model.pdparams), and the ordered vocabulary (characters.txt). With PaddlePaddle and PaddleX installed:
from huggingface_hub import snapshot_download
from paddlex import create_model
directory = snapshot_download(
"Singlate/Singlate-OCR-KoEnJa-ScanDocument", allow_patterns=["inference.json", "inference.pdiparams", "inference.yml"]
)
model = create_model("PP-OCRv6_small_rec", model_dir=directory, device="cpu")
for result in model.predict("line-crop.png", batch_size=1):
print(result["rec_text"])
Internal recognition results
The table reports exact line accuracy and character error rate (CER) after NFC and whitespace normalization. The official Korean v5 control uses PaddleX FP16, and Singlate uses dynamic-width Paddle inference for accuracy evaluation. The equally weighted mean across the six scan/document groups is 69.22% / 4.80%. The photo sets include photographed text outside the primary scan and document domains.
| Language | Set | Lines | PP-OCRv5 Mobile Korean accuracy / CER | Singlate accuracy / CER |
|---|---|---|---|---|
| Korean | Scan | 650 | 62.15% / 8.27% | 79.85% / 3.26% |
| Korean | Document | 1,927 | 67.93% / 5.13% | 64.24% / 5.62% |
| Korean | Photo | 200 | 83.50% / 8.01% | 54.00% / 20.23% |
| English | Scan | 650 | 60.31% / 4.95% | 61.08% / 5.35% |
| English | Document | 1,300 | 86.38% / 0.74% | 89.69% / 0.50% |
| English | Photo | 200 | 46.50% / 29.06% | 56.50% / 22.97% |
| Japanese | Scan | 650 | 7.08% / 83.12% | 65.08% / 6.79% |
| Japanese | Document | 650 | 14.31% / 83.19% | 55.38% / 7.29% |
| Japanese | Photo | 850 | 0.00% / 87.70% | 29.53% / 23.91% |
Internal inference benchmark
Each model processed the same 288 decoded Korean crops across photos, scans, and electronic documents. The GPU benchmark uses one RTX A6000, PaddleX FP16 and a 1,280 px width cap. Peak process VRAM includes runtime and allocator memory (sampled with nvidia-smi). The timed path includes resize, recognition, and decoding.
| Batch | v5 peak VRAM | Singlate peak VRAM | v5 lines/s | Singlate lines/s |
|---|---|---|---|---|
| 1 | 404 MiB | 470 MiB | 143.4 | 114.6 |
| 16 | 1,276 MiB | 2,032 MiB | 312.3 | 227.7 |
On Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz with four pinned physical CPU cores, PaddleX oneDNN FP32 and the same width cap, v5 and Singlate batch-1 median latency were 16.8 ms and 20.6 ms. Batch-16 throughput was 49.4 and 43.3 lines/s.
Training data and attribution
The training split contains 167,638 lines, including 66,000 rendered from project-authored text. The sampler balances Korean, English, and Japanese exposures. The checkpoint was selected at step 24,000 using separate validation sources and evaluated on fixed internal test manifests. Shared CTC classes were initialized by character matching against the official Paddle dictionary. The fine-tune started from the official upstream checkpoint and used human transcriptions, PDF text cells, and rendered labels.
Korean training data includes AI Hub 공공행정문서 OCR (dataset 88), provided by Gimhae City and built by 동양시스템즈, 쇼우테크, and 앙코르브라보노협동조합. English training data includes DocLayNet under CDLA-Permissive-1.0. Japanese training data includes printed vertical and horizontal lines from the National Diet Library's public-domain PD OCR dataset, part 2. The synthetic lines use OFL fonts. AI Hub dataset · AI Hub output reuse policy · DocLayNet · NDL dataset.
The Apache-2.0 release includes the model files and vocabulary. Dataset terms apply to the source materials.
Model tree for Singlate/Singlate-OCR-KoEnJa-ScanDocument
Base model
PaddlePaddle/PP-OCRv6_small_rec