Calamari-OCR / calamari

Line based ATR Engine based on OCRopy
Apache License 2.0
1.04k stars 209 forks source link

Add tensorflow to package dependencies #105

Closed wrznr closed 5 years ago

wrznr commented 5 years ago

Proceeding as documented (i.e. virtualenv & pip install clamari-ocr) does not install tensorflow resulting in

(env) $ calamari-predict --checkpoint ~/calamari_models/fraktur_19th_century/4.ckpt --files test.jpg 
Found 1 files in the dataset
Upgrading from version 0
   ...
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
ChWick commented 5 years ago

Thanks, I updated the README accordingly. Tensorflow must be installed manually since the user has to decide whether to install tensorflow or tensorflow_gpu for gpu support.