Skip to main content

No project description provided

Project description

# calamari OCR Engine based on OCRopy and Kraken. 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.

## Installing The suggested method is to install calamari into a virtual environment using pip: ` virtualenv PATH_TO_VENV_DIR (e. g. virtualenv calamari_venv) source PATH_TO_VENV_DIR/bin/activate pip install calamari ` which will install calamari and all of its dependencies including tensorflow as default backend.

To install the package without a virtual environment simply run ` pip install calamari `

To install the package from its source, download the source code and run ` python setup,py install `

## Command line interface (Standard User) If you simply want to use calamari for applying existent models to your text lines and optionally train new models you probably should use the command line interface of calamari, which is very similar to the one of OCRopy.

Note that you have to activate the virtual environment if used during the installation in order to make the command line skripts available.

### Prediction of a page Currently only OCR on lines is supported. Modules to segment pages into lines will be available soon. In the meantime you should use the scripts provided by OCRopus.

The prediction step using very deep neural networks implemented on tensorflow as core feature of calamari should be used: ` calamari-predict --checkpoint path_to_model.ckpt your_images.*.png `

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-0.1.3.tar.gz (33.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for calamari_ocr-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f39cfc73b0a98352ba68ceb4b90243abafa6456cd00f4a3a1e514def801d55db
MD5 5e412ac488913ec35fc7e5952ec94de5
BLAKE2b-256 297109f718f3d8468efc4c237394a3939175252132b3947e8b64ed12c95da48c

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