Robert Sachunsky

Results 735 comments of Robert Sachunsky

Sure, I'll prepare a PR, but will first do some (training and) testing.

@giri-kum sry, I don't remember anymore. I think I had some results, but inconclusive due to other problems. Isolated experiment should not be difficult to set up (run 10-20 trainings...

The above was Python 3.6 / Tesseract v5.0.0-alpha-622-g7d94 / gcc 7.5.0. I get the same on Python 3.7 / Tesseract v5.0.0-alpha-626-gddb6 / gcc 8.3.0. Cython is the newest 0.29.23.

Bisection revealed this happened at 8a98bf4421307c4b019a696b6ecbda95be6b7a08. The error also goes away with most recent git version of Tesseract, v5.0.0-alpha-20210401. That's a regression: tesserocr used to be backwards compatible and flexible....

> Backwards compatible here means that it must work with the official releases (4.1.1). And it must work with the latest releases of Tesseract 5.0. No, it used to be...

Tesseract master seems to have been supported by tesserocr for a long time, though, despite the extra effort. Especially during the long time after LSTMs had been (hastily) integrated. And...

> Maybe option to turn them on would be help. You can get them on by just doing `SetVariable('debug_file', '')` after constructing your own TessBaseAPI instance. (So yes, this prevents...

> Anyway this problem will be solved with PR #252 So @zdenop was the problem really just that your Leptonica was not compiled against the default libpng?

> IMO there should be option to turn them on (with parameter) for debugging purposes. Ah, so I guess you do _not_ mean Tesseract's `debug_file` parameter (which you _can_ turn...

> ```python > api = PyTessBaseAPI(psm=PSM.AUTO_OSD) > api_region = PyTessBaseAPI(psm=PSM.AUTO_OSD) > ``` At this point you have initialized two independent instances of Tesseract, which both loaded the default `lang='eng'` LSTM...