OCR4all / ocr4all-backend

Master repository containing all required submodules to get the new OCR4all backend (still WIP) up and running
MIT License
1 stars 1 forks source link

Update progress calculation #7

Open maxnth opened 1 year ago

maxnth commented 1 year ago

Currently the progress of a job is calculated as (position of current step / total number of steps) * 100 which doesn't yield useful information about the progress of a single step in a workflow, especially in cases like OCR where the process might take a rather long time (resulting in the progress bar being stuck for a rather long time). Instead we should look into e. g. replicating the progress calculation of legacy OCR4all which determines the progress of a step in a workflow by the calculating (amount of result files generated / total amount of pages being processed in a step) * 100.