Help me please
Hello Sherif,
Thank you so much for the OCR model for Arabic to English handwritten text.
When I tested https://huggingface.co/spaces/sherif1313/Arabic-English-handwritten-OCR on an image of Arabic handwriting, the results were excellent. However, when I tried running the model locally on Google Colab, the results were completely different from those of HuggingFace Space. The extracted text appeared as random characters instead of the original text.
Could you please tell me the following:
What heuristic code is used in Space?
Are there any pre-processing steps for the image?
Is there any recommended guidance for achieving the best OCR results?
What is the actual model used in Space?
How can I obtain it so that the results on Colab match those on Space?
Thank you for your great work.
You will find everything here: https://github.com/sherif1313/Arabic-English-handwritten-OCR-v3 file app.py and requirements.txt
pip install -r requirements.txt
Feel free to ask any questions
Thank you, Mr. Sherif, for replying to my message. However, the model validation point is incomplete—almost all weights are missing upon upload, including the visual encoder layers and the entire language model. Only a few of the converter weights are present. Could you please upload the complete built-in model weights?
I checked this link
https://github.com/sherif1313/Arabic-English-handwritten-OCR-v3 and all the files in it, but I couldn't find the correct way to upload the form and get the same result I got in the space.
Use the form from your own device to make sure the problem isn't from your Google Colab.