Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Bina 0.2 - RizehPizeh
|
| 2 |
+
|
| 3 |
+
Persian full-page OCR pipeline based on PP-OCRv6:
|
| 4 |
+
|
| 5 |
+
1. Detect ordered Persian text regions.
|
| 6 |
+
2. Recognize CTC-safe RTL word groups.
|
| 7 |
+
3. Reconstruct lines and complete pages in reading order.
|
| 8 |
+
|
| 9 |
+
## Current training state
|
| 10 |
+
|
| 11 |
+
The initial PP-OCRv6 medium recognizer pilot reached a held-out normalized edit
|
| 12 |
+
similarity of `0.1752708888` before its ephemeral Colab runtime reset. No model
|
| 13 |
+
checkpoint survived that reset.
|
| 14 |
+
|
| 15 |
+
The files under `training-kit/` reproduce data preparation, RTL segmentation,
|
| 16 |
+
and evaluation-driven early stopping. Future best checkpoints are uploaded
|
| 17 |
+
under `checkpoints/` so runtime resets do not erase training progress.
|
| 18 |
+
|
| 19 |
+
## Data
|
| 20 |
+
|
| 21 |
+
- `Reza2kn/persian-handwriting-pages-3.69m`
|
| 22 |
+
- `Reza2kn/persian-printed-ocr-3.5m`
|
| 23 |
+
- `Reza2kn/visualears-hardword-sentences` for rare-character coverage
|
| 24 |
+
|
| 25 |
+
The Persian recognizer uses a character dictionary rather than a language-model
|
| 26 |
+
tokenizer.
|