Skip to contents

Detects the operating system and dedicated NVIDIA GPU (CUDA) availability. Downloads official pre-compiled COLMAP binaries, unpacks them into the safe persistent user data directory of pliman, and injects the executable and library directories into the session PATH.

Usage

install_colmap(force = FALSE, version = "4.2.1")

Arguments

force

Logical. If TRUE, forces re-download even if the executable already exists. Defaults to FALSE.

version

Character string. Target COLMAP GitHub release tag. Defaults to "4.2.1".

Value

Absolute path to the installed COLMAP binary.

Examples

if (FALSE) { # interactive()
library(pliman)
install_colmap()
}