# OCR models

Development builds may place official Tesseract `rus.traineddata`, `eng.traineddata`, and `osd.traineddata` files here. They are intentionally not committed by the source template.

The application does not download models while processing a document. A patient release must bundle reviewed, pinned model files inside the signed installer and record their SHA-256 hashes in the release manifest.

Local prototype models were downloaded from the official `tesseract-ocr/tessdata_fast` release tag `4.1.0`, which is documented as compatible with Tesseract 4 and newer:

| File | SHA-256 |
|---|---|
| `rus.traineddata` | `e16e5e036cce1d9ec2b00063cf8b54472625b9e14d893a169e2b0dedeb4df225` |
| `eng.traineddata` | `7d4322bd2a7749724879683fc3912cb542f19906c83bcc1a52132556427170b2` |

The current OCR command uses page segmentation mode 6 and does not require `osd.traineddata`.
