|
|
@ -15,25 +15,15 @@ image) as its input.
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
### From PyPI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:construction: :construction: :construction: :construction: :construction: :construction: :construction:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
pip install ocrd_calamari
|
|
|
|
pip install ocrd_calamari
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### From Repo
|
|
|
|
## Install models
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
|
|
|
pip install .
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
wget https://github.com/Calamari-OCR/calamari_models/archive/master.zip
|
|
|
|
To install the calamari with the GPU version of Tensorflow:
|
|
|
|
unzip master.zip
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
|
|
|
pip install 'calamari-ocr[tf_cpu]'
|
|
|
|
|
|
|
|
pip install .
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
## Example Usage
|
|
|
|