Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.

0 downloads

dbbasic-object-primitive/requirements-ocr.txt
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-primitive.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-primitive.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-primitive.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Q Consolidate duplicate QUICKSTARTs on the top-level file 503f830 7 months ago History
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) ===
9easyocr>=1.7.0
10torch>=2.0.0
11torchvision>=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
16paddleocr==2.9.1
17paddlepaddle==3.0.0
18
19# === Image processing for OCR pipeline ===
20opencv-python-headless>=4.8.0
21scikit-image>=0.21.0
22shapely>=2.0.0
23pyclipper>=1.3.0