OpenPecha / Toolkit

🛠 Tools to create, edit and export texts and annotations
https://toolkit.openpecha.org
Apache License 2.0
7 stars 4 forks source link

improvements in annotation transfer in google_ocr import #185

Closed eroux closed 1 year ago

eroux commented 1 year ago

Currently the GoogleOCRFormatter formatter fails if antx fails to transfer annotations for a particular page. What should happen in that case instead of a failure is that the page should just be taken as Google says it is, and low confidence, languages, confidence indexes, etc. are not computed for that page. This shouldn't prevent the next pages to be imported normally. One example where the bug happens is W1KG6164 (I'm not sure what page though)

eroux commented 1 year ago

antx is not used anymore