askrobots / dbbasic-object-primitive
Public
Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.
requirements-ocr.txt · 720 bytes · 23 lines
| 1 | # Object Primitive System - OCR/GPU Dependencies (optional) |
| 2 | # Install: pip install -r requirements-ocr.txt |
| 3 | # |
| 4 | # These are large downloads (torch ~2GB, paddle ~1GB). |
| 5 | # The CPU OCR path (tesseract) works without these. |
| 6 | # Install only if you need EasyOCR or PaddleOCR. |
| 7 | |
| 8 | # === OCR - EasyOCR (PyTorch-based, GPU-optional) === |
| 9 | easyocr>=1.7.0 |
| 10 | torch>=2.0.0 |
| 11 | torchvision>=0.15.0 |
| 12 | |
| 13 | # === OCR - PaddleOCR (Paddle-based, GPU-optional) === |
| 14 | # NOTE: PaddleOCR 3.4 / PaddlePaddle 3.3 has a CPU bug (oneDNN NotImplementedError) |
| 15 | # Pin to 2.9.1 / 3.0.0 until upstream fixes it |
| 16 | paddleocr==2.9.1 |
| 17 | paddlepaddle==3.0.0 |
| 18 | |
| 19 | # === Image processing for OCR pipeline === |
| 20 | opencv-python-headless>=4.8.0 |
| 21 | scikit-image>=0.21.0 |
| 22 | shapely>=2.0.0 |
| 23 | pyclipper>=1.3.0 |