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 custumized 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 virutal environmant 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 soon available. 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file calamari_ocr-0.1.0.tar.gz
.
File metadata
- Download URL: calamari_ocr-0.1.0.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2316c103c934e042aba0829ab520aceed728580a2dbbd3849148f6555fa4d89 |
|
MD5 | 072255d410d2ff5bf60b4947ffeb9a21 |
|
BLAKE2b-256 | 680d4558c926a804825ae9c5679d4c223ad385e1dd1e263db3fdceae63ba602b |