Metadata-Version: 2.4
Name: rytm-regulatory-monitor-ocr-data
Version: 0.5.0
Summary: Tesseract language data (tessdata_best pol + osd) for the optional OCR add-on of rytm-regulatory-monitor
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# rytm-regulatory-monitor-ocr-data

Data-only companion of `rytm-regulatory-monitor`. It carries exactly two Tesseract
language models, unmodified, from `tesseract-ocr/tessdata_best`:

- `pol.traineddata` (Polish text),
- `osd.traineddata` (orientation and script detection, needed by page segmentation mode 1).

There is no code in this package: `rytm_ocr_data/__init__.py` is empty. It is installed only
through the optional add-on of the main package:

    py -m pip install --upgrade --only-binary=:all: "rytm-regulatory-monitor[ocr]"

Do not install it on its own for any other purpose, and do not mix versions: its version is
always equal to the version of `rytm-regulatory-monitor` it was released with. The main
package refuses to run OCR (`OCR_VERSION_MISMATCH`) when the two differ, and it refuses a
model file whose SHA-256 differs from the one recorded in its own manifest
(`OCR_MODEL_HASH_MISMATCH`).

Licence of the models: Apache-2.0, see `LICENSE-tessdata.txt` and `NOTICE.txt` inside the
package. The licence of `rytm-regulatory-monitor` itself is not changed by this package.
