kopia lustrzana https://github.com/OpenDroneMap/ODM
Update OpenSfM, add warning filter
rodzic
f5a596c6e4
commit
a2bc49009f
|
@ -9,7 +9,7 @@ ExternalProject_Add(${_proj_name}
|
||||||
#--Download step--------------
|
#--Download step--------------
|
||||||
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
|
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
|
||||||
GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/
|
GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/
|
||||||
GIT_TAG 210
|
GIT_TAG 211
|
||||||
#--Update/Patch step----------
|
#--Update/Patch step----------
|
||||||
UPDATE_COMMAND git submodule update --init --recursive
|
UPDATE_COMMAND git submodule update --init --recursive
|
||||||
#--Configure step-------------
|
#--Configure step-------------
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import cv2
|
import cv2
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
import warnings
|
||||||
from opendm import get_image_size
|
from opendm import get_image_size
|
||||||
from opendm import location
|
from opendm import location
|
||||||
from opendm.gcp import GCPFile
|
from opendm.gcp import GCPFile
|
||||||
|
@ -16,6 +17,8 @@ from opendm import context
|
||||||
from opendm.progress import progressbc
|
from opendm.progress import progressbc
|
||||||
from opendm.photo import ODM_Photo
|
from opendm.photo import ODM_Photo
|
||||||
|
|
||||||
|
# Ignore warnings about proj information being lost
|
||||||
|
warnings.filterwarnings("ignore")
|
||||||
|
|
||||||
class ODM_Reconstruction(object):
|
class ODM_Reconstruction(object):
|
||||||
def __init__(self, photos):
|
def __init__(self, photos):
|
||||||
|
|
Ładowanie…
Reference in New Issue