the_ocr_bot
the_ocr_bot copied to clipboard
help me
hi. in ocr.space i see this platform support persian language but in bot persian language is not exist.
Yeah, the Persian language is supported when you use ocr engine 3, I have used ocr engine 1 because it is faster than other ocr engines. You can change it if you want you just have to change OCREngine = 1 to OCREngine = 3 https://github.com/amit-y11/the_ocr_bot/blob/f84abc4893800190ae5d788bbaf423fbdc942d8b/ocrbot/handlers/callbackquery_handler.py#L20
i change it but in bot when i upload image, persian language button not display.
You will have to add the Persian Language here https://github.com/amit-y11/the_ocr_bot/blob/f84abc4893800190ae5d788bbaf423fbdc942d8b/ocrbot/handlers/extract_image.py#L16 with callback_data = 'per'
thanks a lot. is possible you create a branch for engine 3?
Okay, I will make a separate branch for engine 3