textsense-ocr / Dockerfile

Commit History

textsense-ocr: set PPOCR_HOME to writable /tmp and create it to avoid permission errors
5b041e6

Marc Allen Lopez commited on

textsense-ocr: add libgl1 and libgomp1 to fix OpenCV/Paddle runtime deps
d29ee6e

Marc Allen Lopez commited on

Switch OCR backend to PaddleOCR\n\n- Replace MiniCPM inference with PaddleOCR (CPU)\n- Simplify requirements to Paddle and PaddleOCR only\n- Use slim Python image; drop CUDA dependencies\n- Keep API compatible: /extract returns text lines\n
aafb1d3

Marc Allen Lopez commited on

Switch to PyTorch devel image and set CUDA env vars for flash_attn compilation
5595512

Marc Allen Lopez commited on

Add flash_attn back and install build tools for dots.ocr model compatibility
2540b0e

Marc Allen Lopez commited on

Fix build: remove flash-attn dependency and add git to Dockerfile for dots.ocr compatibility
284f016

Marc Allen Lopez commited on

Fix dependencies: pin exact versions and update PyTorch base image for dots.ocr compatibility
d8616e1

Marc Allen Lopez commited on

Add TrOCR OCR functionality with FastAPI - Docker container with TrOCR model for image-to-text extraction
198cd52

Marc Allen Lopez commited on