Details
Description
This enhancement would attempt to extract more text from multicolored background images in PDFs by using adaptive threshold binarization before applying Tesseract for OCR. It also tries to extract text from vector images inside PDFs by first rasterizing them (using Ghostscript) and then applying Tesseract to the flattened images. The final output would be a text file containing all previously extracted text.
I would want to integrate this as a separate library from Tika that is similar to how the GeoTopicParser is handled.
The code that I have is still a work in progress and can be found here.