News for hackers. Stuff that matters.
Re:Show HN: I wrote a free Mac app to OCR any text on screen by vicedvin on Saturday May 22, 2021 @05:22AM (#27244928)
Masking the background and making text black would solve this. I have used OpenCV for that before.
Re:Show HN: I wrote a free Mac app to OCR any text on screen by rjzzleep on Saturday May 22, 2021 @07:00AM (#27245361)
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