This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CMakeList.txt : Top-level CMake project file, do global configuration | |
cmake_minimum_required (VERSION 3.8.2) | |
# Load automatically VCPKG toolchain if available | |
IF(NOT DEFINED CMAKE_TOOLCHAIN_FILE AND DEFINED ENV{VCPKG_ROOT}) | |
SET(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "") | |
IF(NOT DEFINED VCPKG_TARGET_TRIPLET AND DEFINED ENV{VCPKG_DEFAULT_TRIPLET}) | |
SET(VCPKG_TARGET_TRIPLET "$ENV{VCPKG_DEFAULT_TRIPLET}" CACHE STRING "") | |
ENDIF() | |
ENDIF() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argh | |
import os | |
import numpy as np | |
def extract_colmap_poses( | |
log_file: str, | |
output_path: str, | |
) -> None: | |
print('Loading ', log_file) | |
lines = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
# Get dependencies | |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | |
cmake \ | |
build-essential \ | |
graphviz \ | |
git \ | |
coinor-libclp-dev \ | |
libceres-dev \ |