openpaperwork / pyocr

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

-psm tesseract parameter is deprecated #101

Closed geniass closed 6 years ago

geniass commented 6 years ago

Tesseract has deprecated the -psm command line argument (see tesseract-ocr/tesseract@92d981b).

Also in a recent version of Tesseract 4 they have completely removed it (tesseract-ocr/tesseract@ee201e1f4fa277a4b2ecd751a45d3bf1eba6dfdb). This breaks the WordBoxBuilder

jflesch commented 6 years ago

Duplicate of #99

(Sorry, the issue #99 was closed because @ddddavidmartin submited a pull request. I accepted it (closing the ticket #99) but I had to revert the changes soon after)

geniass commented 6 years ago

Sorry didn't see that issue. Thanks.