Skip to content

Conversation

@Acly
Copy link
Owner

@Acly Acly commented Feb 11, 2026

Adds 2 CMake options:

  • VISP_INSTALL_MODELS - (default: off) enable to download and install a set of default models
  • VISP_MODEL_INSTALL_DIR - (default: share/visioncpp) set the path to install models, usually relative to install prefix

When enabled, VISP_MODEL_INSTALL_DIR is also hardcoded into vision-cli as an additional search path for models. The search paths are prioritized as follows:

  1. current working dir
  2. models subfolder of current working dir
  3. $VISION_MODEL_DIR environment variable
  4. $XDG_DATA_HOME/visioncpp
  5. $HOME/.local/share/visioncpp
  6. VISP_MODEL_INSTALL_DIR

@Acly Acly force-pushed the model-install-path branch from 5e17f3b to 81d6338 Compare February 11, 2026 16:01
@Acly Acly force-pushed the model-install-path branch from 0aa530b to 3c7e967 Compare February 12, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant