Update OpenSfM, add warning filter

pull/1197/head^2
Piero Toffanin 2020-11-08 22:59:24 -05:00
rodzic f5a596c6e4
commit a2bc49009f
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ ExternalProject_Add(${_proj_name}
#--Download step--------------
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/
GIT_TAG 210
GIT_TAG 211
#--Update/Patch step----------
UPDATE_COMMAND git submodule update --init --recursive
#--Configure step-------------

Wyświetl plik

@ -1,6 +1,7 @@
import cv2
import re
import os
import warnings
from opendm import get_image_size
from opendm import location
from opendm.gcp import GCPFile
@ -16,6 +17,8 @@ from opendm import context
from opendm.progress import progressbc
from opendm.photo import ODM_Photo
# Ignore warnings about proj information being lost
warnings.filterwarnings("ignore")
class ODM_Reconstruction(object):
def __init__(self, photos):