JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
24.63k stars 3.17k forks source link

How to use customed CRAFT detection model? #1115

Open zero-kappa opened 1 year ago

zero-kappa commented 1 year ago

It seems the code only support the craft_mlt_25k.pth CRAFT model.

EivindKjosbakken commented 9 months ago

Other models should work as long as they have the correct model architecture. If you are interested I wrote an article about fine-tuning the CRAFT model on TowardsAI https://medium.com/towards-artificial-intelligence/how-to-fine-tune-the-craft-model-in-easyocr-f9fa0ac5cc9d, which can hopefully be of help.