Files
omniparse-mcp/requirements.txt
T
plean 2a4b1101e6 omniparse-mcp: standalone OmniParser V2 parsing service + MCP shim
Self-contained: vendored util/ (CC BY 4.0, fixes noted in NOTICE), portable
setup.sh (venv + weights + Pascal lane), start.sh with real-parse readiness
gate, FastAPI service (bearer, serial GPU queue, LRU cache, OOM->503), MCP
stdio shim (MCPServer 2.x, token strip), hardware-honest README.
2026-11-18 02:29:08 +00:00

25 lines
832 B
Plaintext

# 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
requests
tqdm
supervision==0.18.0
ultralytics==8.3.70 # fallback detector path only; default is vendored YOLOv9-E
transformers>=4.45,<4.50
accelerate
timm
einops==0.8.0 # florence-2 remote code
easyocr # default OCR engine
paddleocr==2.10.0 # optional OCR engine (paddlepaddle 3.x dropped use_gpu kwarg upstream uses)
paddlepaddle==3.0.0
huggingface_hub
# serving
fastapi
uvicorn[standard]
# 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