Files
omniparse-mcp/requirements.txt
T
plean 61a0f353cd Fresh-machine hardening from review
- util: drop dead openai/json/sys/requests/PIL extras (openai import would
  ImportError before engine load); ultralytics fallback path now raises
  (AGPL isolation - only MIT icon_detect_v3 ships)
- requirements: default path only; paddle + ultralytics moved to README
  optional section
- setup.sh: venv fallback for distros without ensurepip; --skip-weights
  verified
- start.sh: bind 127.0.0.1 by default (LAN = explicit opt-in)
- docs: absolute-path !cat examples, HF startup/airgap notes, token
  placement, security defaults
2026-11-18 02:34:13 +00:00

24 lines
786 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
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).