DCGM / pero_ocr_web

BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

When OCR is running there is no feedback #26

Open zabak opened 4 years ago

zabak commented 4 years ago

I have to try to reload the page repeatedly - there is no way of knowing when will the OCR finish. Is there a way to say something like image is in a 435th in the OCR queue. Currently, I am not even sure if the OCR engine is running at all.

michal-hradis commented 4 years ago

The OCR tasks are processed at a level of a document and the server does not get information about the progress. This may change as we plan at some point add "page level" OCR processing. At the moment, the states are "waiting", "Running", "done". We plan to add job list page.

zabak commented 4 years ago

Perhaps adding asynchronous querying every two seconds and animated gif would help (maybe something from https://giphy.com/search/wait-icon :)