Search code examples
javaocrpdfbox

How to Make Existing PDF Text Searchable using any Java Library? With OCR


Any java library? How to make searchable text using any java library? Open source or Paid.

how to apply OCR to pdf using PDFBox? how to make pdf text searchable programmatically using pdfbox I searched alot. Didn't find any solution. Can anyone paste code for OCR PDFBox.


Solution

  • Try Apache PDFBox.

    To extract text: Textextraction.