openpaperwork / pyocr

A Python wrapper for Tesseract and Cuneiform -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/pyocr
930 stars 152 forks source link

There are two TesseractError #54

Closed jflesch closed 7 years ago

jflesch commented 7 years ago

There are two exceptions TesseractError in pyocr ... As shown by https://github.com/danielquinn/paperless/issues/154 , this is useless and confusing.

1) We need only one. 2) TesseractError cannot be used with Cuneiform. It wouldn't make sense.

jflesch commented 7 years ago

2fde89791ba79500f2ffc8d08d49fb95ee2539fe