Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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.

Files for calamari-ocr, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size calamari_ocr-0.1.2.tar.gz (31.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page