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

[libtesseract] output of get_available_builders() is incomplete #80

Open wwqgtxx opened 6 years ago

wwqgtxx commented 6 years ago

I see the code of https://github.com/openpaperwork/pyocr/blob/master/src/pyocr/libtesseract/tesseract_raw.py#L381 https://github.com/openpaperwork/pyocr/blob/master/src/pyocr/libtesseract/__init__.py#L110 It's showed the libtesseract was supported the numeric mode,but why in get_available_builders not allow us use DigitBuilder

jflesch commented 6 years ago

Quite frankly, I totally forgot get_available_builders even existed (it's not even documented in the README). What they currently return is probably obsolete. You can safely use DigitBuilder with libtesseract.

I'll update get_available_builders for the next release.

jflesch commented 6 years ago

Ok, the next next release... sorry .. :/