Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vicedvin
· 5y ago · 0 comments
Masking the background and making text black would solve this. I have used OpenCV for that before.
Comments
[–]
rjzzleep
5y 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