docling
docling copied to clipboard
Make easyocr optional
Requested feature
Easyocr has a dependency with a restrictive license (python-bidi : LGPL). In my organization, we have a strict policy to only use packages which have permissive licenses (like MIT, Apache, etc).
I am thinking we can probably add it as an optional dependency and not install it by default.
Please guide me on how to make it optional to use EasyOCR, or switch it off by default.
Just download it as usual and do not use easyocr as the OCR engine. Delete its traces too. You will have not used it: the problem is solved.
The Github repo for EasyOCR has an Apache 2.0 license. Where did you find LGPL?