# Install order matters only for torch on old GPUs - see setup.sh --pascal. # torch / torchvision come from setup.sh (CUDA-wheel choice is hardware-specific). numpy==1.26.4 # torch/opencv ecosystem pin from upstream opencv-python-headless pillow matplotlib tqdm supervision==0.18.0 transformers>=4.45,<4.50 accelerate timm einops==0.8.0 # florence-2 remote code easyocr # default OCR engine huggingface_hub # serving fastapi uvicorn[standard] requests # MCP stdio shim (>=2.x: mcp.server.mcpserver.MCPServer; 1.x path was # mcp.server.fastmcp.FastMCP - adjust import if you pin lower) mcp>=2.0.0 # Optional engines are deliberately NOT here - see README "Optional engines" # (paddleocr/paddlepaddle: alternate OCR; ultralytics: AGPL, unsupported path).