Downloads · 30 days
0
mjurukov/macedonian-ocr-v8
macedonian-ocr-v8 is a machine learning model from mjurukov. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
Fine-tuned PaddleOCR recognition model for Macedonian Cyrillic text in scanned books, paired with PP-OCRv6 medium detection.
Downloads · 30 days
0
Access
Public
Updated Jun 30, 2026
Repo size
7.6 MB
Likes
0
Public
Click a slice to open those files.
.pdiparams7.6 MB · 97%
From the Hugging Face model README
Fine-tuned PaddleOCR recognition model for Macedonian Cyrillic text in scanned books, paired with PP-OCRv6 medium detection.
| Engine | CER |
|---|---|
| V8+LM (this model + KenLM post-processing) | 0.20% |
| V8 (this model, raw) | 0.26% |
| V7 (previous) | 1.02% |
| Tesseract (mkd) | 1.43% |
| Qwen 3.5 122B (best VLM) | 0.39% |
Measured on 10 held-out scanned Macedonian book pages.
from paddleocr import PaddleOCR
ocr = PaddleOCR(
text_detection_model_name='PP-OCRv6_medium_det',
text_recognition_model_name='PP-OCRv5_server_rec',
text_recognition_model_dir='./mk_rec_v8_infer',
text_det_thresh=0.15,
text_det_box_thresh=0.28,
text_det_unclip_ratio=3.0,
use_doc_orientation_classify=False,
use_doc_unwarping=False,
use_textline_orientation=False,
)
result = ocr.predict('your_page.jpg')
for page in result:
for text, score in zip(page['rec_texts'], page['rec_scores']):
print(f'{score:.2f} {text}')
pip install huggingface_hub
python3 -c "
from huggingface_hub import snapshot_download
snapshot_download('mjurukov/macedonian-ocr-v8', local_dir='./mk_rec_v8_infer')
"
Winning pipeline (validated via A/B testing):
Model weights: CC BY 4.0 — free to use, modify, and redistribute with attribution. Code: MIT