android-ocr icon indicating copy to clipboard operation
android-ocr copied to clipboard

Loading equation data fails

Open JochenLutz opened this issue 2 years ago • 2 comments

When I select “equation“ as language and confirm the download of the missing training data, after a short time showing the spinner, I get the message that the training data for equation is missing and the option to download it.

No other error message is shown.

Switching between fast/best/standard data type does not fix that.

JochenLutz avatar Jan 27 '23 19:01 JochenLutz

any solution to this now? or can we just import our own dataset?

benhaotang avatar Sep 14 '24 14:09 benhaotang

any solution to this now? or can we just import our own dataset?

I see where the problem is, the equation dataset moved from raw/4.00 to raw/3.04.00 in the data set download page, and in the code the download address is hard coded, so adding a decision in front of the link will fix this problem. I will try to make a PR when I am free or the owner can make a simple change.

edit: PR here https://github.com/SubhamTyagi/android-ocr/pull/124#issue-2526483709 , the dataset is correctly downloading

benhaotang avatar Sep 14 '24 15:09 benhaotang