PdfText CLI.
PdfText on the command line: xpdf reads a PDF and writes its extracted text to a text file, with an OCR fallback for scanned pages.
Robbiblubber.Util.PdfText.Cli
Features and getting started
Native runtime libraries and the required Tesseract language dataTarget frameworks: net8.0
What’s inside
- One invocation with two arguments: PDF input and text output.
- Uses the PdfText library and its default configuration for direct text extraction and OCR.
- Console progress indication; a Dockerfile is included in the repository.
xpdf input.pdf output.txtThe executable is named xpdf. Quote input and output paths that contain spaces.
First steps
- Deploy the application with its runtime dependencies and provide the Tesseract language data needed for OCR.
- Run xpdf with the PDF path and destination text file path.
- Open the resulting text file or pass it to subsequent processing.
Util.NET
Tools for practical .NET tasks: console progress indicators, a common file API for local and remote storage, and PDF text extraction with OCR. rush and PdfText CLI bring these libraries to the command line.