OCR Engine based on OCRopy and Kraken using Python 3.
It is designed to both be easy to use from the command line but also be modular to be integrated and customized from other python scripts.
Documentation
The documentation of Calamari is hosted here.
Pretrained model repository
Pretrained models are available at calamari_models and calamari_models_experimental.
Current releases (with individual model tarballs) can be accessed here and here.
Installing
Calamari is available on pypi:
pip install calamari-ocr
Read the docs for further instructions.
Command-Line Interface
See the docs to learn how to use Calamari from the command line.
Calamari API
See the docs to learn how to adapt Calamari for your needs.
Citing Calamari
If you use Calamari in your Research-Project, please cite:
Wick, C., Reul, C., Puppe, F.: Calamari - A High-Performance Tensorflow-based Deep Learning Package for Optical Character Recognition. Digital Humanities Quarterly 14(1) (2020)
@article{wick_calamari_2020,
title = {Calamari - {A} {High}-{Performance} {Tensorflow}-based {Deep} {Learning} {Package} for {Optical} {Character} {Recognition}},
volume = {14},
number = {1},
journal = {Digital Humanities Quarterly},
author = {Wick, Christoph and Reul, Christian and Puppe, Frank},
year = {2020},
}
Metadata
Release files for calamari-ocr 2.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| calamari_ocr-2.3.1.tar.gz | 1.3 MB | Without provenance | Details for calamari_ocr-2.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calamari_ocr-2.3.1-py3-none-any.whl | Python 3 | none | any | Details for calamari_ocr-2.3.1-py3-none-any.whl |
Total release size: 1.5 MB
Release files / calamari_ocr-2.3.1.tar.gz
| Download URL | calamari_ocr-2.3.1.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b24c92cfdd68ec822ee22b363562691deb98302dfaa765123a4efa129d142aa
|
|
BLAKE2b-256 checksum How to use checksums |
eb77bc1a19c306f3c09e86c23bb89a9cc8b5345affb35f309a2a792ebd73e3d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.18
|
Release files / calamari_ocr-2.3.1-py3-none-any.whl
| Download URL | calamari_ocr-2.3.1-py3-none-any.whl |
|---|---|
| Size | 182.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f742740424cdfde6abb5bfc7084a690ea9bdbe04e2f648ba82390b519218b605
|
|
BLAKE2b-256 checksum How to use checksums |
480663b888ed6ff2ba4db2409a52c5920656d4a53e056bcdd9e498ec13eff3de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.18
|
Security for calamari-ocr 2.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.