Skip to main content

Line based ATR Engine based on OCRopy

Project description

logo

Python Test codecov Lint Upload Python Package image

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.

preview

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},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calamari_ocr-2.3.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

calamari_ocr-2.3.1-py3-none-any.whl (182.9 kB view details)

Uploaded Python 3

File details

Details for the file calamari_ocr-2.3.1.tar.gz.

File metadata

  • Download URL: calamari_ocr-2.3.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for calamari_ocr-2.3.1.tar.gz
Algorithm Hash digest
SHA256 7b24c92cfdd68ec822ee22b363562691deb98302dfaa765123a4efa129d142aa
MD5 33d51d1cc1119e7ba32edaafdb736c74
BLAKE2b-256 eb77bc1a19c306f3c09e86c23bb89a9cc8b5345affb35f309a2a792ebd73e3d0

See more details on using hashes here.

File details

Details for the file calamari_ocr-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: calamari_ocr-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 182.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for calamari_ocr-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f742740424cdfde6abb5bfc7084a690ea9bdbe04e2f648ba82390b519218b605
MD5 f2744c3c1ab3ecfae91239a676382569
BLAKE2b-256 480663b888ed6ff2ba4db2409a52c5920656d4a53e056bcdd9e498ec13eff3de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page