vector_wall / requirements.txt
Pream912's picture
Update requirements.txt
75a63cc verified
Raw
History Blame Contribute Delete
1.03 kB
# Hugging Face Space requirements for sam_auto_app.py.
# Rename to requirements.txt in the Space repo.
gradio>=4.0.0
torch>=2.0.0
torchvision>=0.15.0
segment-anything @ git+https://github.com/facebookresearch/segment-anything.git
opencv-contrib-python-headless>=4.8.0
numpy>=1.24.0,<2.0
Pillow>=10.0.0
easyocr>=1.7.0
# Vector wall extraction from PDF (pdf_walls.py). Without it the PDF tab is
# disabled and only the raster path runs.
pymupdf>=1.24.0
# REQUIRED, both of them. Wall extraction is the wall_vectorizer_flask.py method:
# vtracer traces the sheet, svgpathtools parses the traced paths and splits them
# into the subpaths the wall filter measures. Without either there is no wall
# extraction at all — the app has no other path and no network fallback.
vtracer>=0.6.11
svgpathtools>=1.6.1
# Only needed for the 1:1 parity path (when the sibling DeepPlan modules are
# uploaded alongside the app). Harmless to keep for the inline-port-only setup.
scipy>=1.11.0
scikit-image>=0.21.0