# Each is needed only for the feature named above it. Install the ones you want, one line at
# a time, rather than the whole file: they are large and two of them interact badly.

# recon/oracle.py, and loading a COLMAP model as a reference
pycolmap

# --deep: SuperPoint features and LightGlue matching.
#
# Two things have gone wrong installing these on macOS. Installing lightglue can pull in
# opencv-python-headless beside your existing OpenCV, and removing it then removes cv2 too;
# repair with
#     python3 -m pip install --force-reinstall --no-deps opencv-python
# And pycolmap and torch each ship an OpenMP runtime that macOS will not load together in one
# process. recon/deepmatch.py avoids importing both, so use it through build_scene.py --deep
# rather than importing the two libraries yourself.
torch
lightglue @ git+https://github.com/cvg/LightGlue.git

# viewer/sfm/check_page.py, which drives the upload page in headless Chrome
websocket-client
