RobertKunte/CODEX-pdf-image-ocr-renamer

0

stars

8

commits

Python

primary language

Jun 16, 2025

updated

README

PDF OCR App

A small command line tool to convert PDF files to images and extract text. The default OCR engine is Tesseract but two Hugging Face models are also supported.

Requirements

Install the Python dependencies via pip:

pip install -r requirements.txt

Usage

python pdf_ocr.py <file.pdf> --out-dir output --lang deu --engine tesseract

All pages of the PDF will be saved as JPG images in the output folder. The recognized text is printed to the console and written to output/output.txt.

Notes

This repository contains only a minimal example. Make sure tesseract and the language data you need are installed on your system.

Contributors

RobertKunte

8 commits

RobertKunte/CODEX-pdf-image-ocr-renamer

0

stars

8

commits

Python

primary language

Jun 16, 2025

updated

README

PDF OCR App

A small command line tool to convert PDF files to images and extract text. The default OCR engine is Tesseract but two Hugging Face models are also supported.

Requirements

Install the Python dependencies via pip:

pip install -r requirements.txt

Usage

python pdf_ocr.py <file.pdf> --out-dir output --lang deu --engine tesseract

All pages of the PDF will be saved as JPG images in the output folder. The recognized text is printed to the console and written to output/output.txt.

Notes

This repository contains only a minimal example. Make sure tesseract and the language data you need are installed on your system.

Contributors

RobertKunte

8 commits

Languages

Python

83.4%

HTML

16.6%