califyn / time-cord

A Python library for Discord time management tools
MIT License
0 stars 5 forks source link

Find a low-memory, lightweight OCR engine #17

Open califyn opened 3 years ago

califyn commented 3 years ago

Currently, I use the EasyOCR OCR engine to process the Discord server name. However, it takes up quite a bit of memory while it runs in the background (something like 400MB?) and has very big dependencies (OpenCV, ML stuff) that users might not have installed. Given that Discord server names are clearly and largely written and not handwritten, a "lower-quality" OCR engine should suffice. If anyone can give me some recommendations (I can handle writing it into the code), that would be appreciated. Thanks.

gaiarajan commented 3 years ago

Tesseract is great and usually quicker than EasyOCR! It also does better than EasyOCR with letters(whereas EO is better for numbers) in my experience. Good luck!