3 ms·
Masking the background and making text black would solve this. I have used OpenCV for that before.
by vicedvin 5y ago
Masking the background and making text black would solve this. I have used OpenCV for that before.
- rjzzleep 5y agoOCRmyPDF does that. Given the name I assume it's only for PDFs given the name, but theoretically it should work for any image without the need to extract it from the PDF. https://github.com/jbarlow83/OCRmyPDF https://github.com/jbarlow83/OCRmyPDF