Y
Hacker News
new
|
ask
|
show
|
jobs
by
vicedvin
1855 days ago
Masking the background and making text black would solve this. I have used OpenCV for that before.
1 comments
rjzzleep
1855 days ago
OCRmyPDF 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
link
https://github.com/jbarlow83/OCRmyPDF