OCR-D / core

Collection of OCR-related python tools and wrappers from @OCR-D
https://ocr-d.de/core/
Apache License 2.0
119 stars 31 forks source link

Include page_update_higher_textequiv_levels() in core #988

Open mikegerber opened 1 year ago

mikegerber commented 1 year ago

I've used @bertsky's/ocrd_tesserocr's page_update_higher_textequiv_levels() in ocrd_calamari and now also in the WIP ocrd_trocr. Could this be included in core to avoid the copies?

mikegerber commented 1 year ago

This could be a dupe, because I vaguely remember asking about it before, but I may have not opened a GitHub issue yet.

bertsky commented 1 year ago

I concur. Probably as another patch to OcrdPage / ocrd_page_generateds, say TextRegionType.concatenate_TextEquiv() etc.

This could be a dupe

Not that I recall.