Package for performing inference and evaluation for OCR/HTR tasks with HuggingFace integration.
- Python >= 3.12
- PyTorch >= 2.6
- CUDA compatible GPU (recommended, but CPU also supported)
git clone https://github.com/The-Flow-Project/package-trocr-inference.git
cd package-trocr-inference
pip install .git clone https://github.com/The-Flow-Project/package-trocr-inference.git
cd package-trocr-inference
uv pip install .