Tweak OpenMVS sharpness optimization

pull/1467/head
Piero Toffanin 2022-06-12 11:44:21 -04:00
rodzic 71cd79e19d
commit 4f2b7d6bda
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -198,7 +198,7 @@ class ODM_Photo:
xtags = {}
with open(_path_file, 'rb') as f:
tags = exifread.process_file(f, details=False)
tags = exifread.process_file(f, details=True, extract_thumbnail=False)
try:
if 'Image Make' in tags:
try:

Wyświetl plik

@ -3,7 +3,7 @@ attrs==20.3.0
beautifulsoup4==4.9.3
cloudpickle==1.6.0
edt==2.0.2
ODMExifRead==3.0.2
ODMExifRead==3.0.3
Fiona==1.8.17 ; sys_platform == 'linux' or sys_platform == 'darwin'
https://github.com/OpenDroneMap/windows-deps/raw/main/Fiona-1.8.19-cp38-cp38-win_amd64.whl ; sys_platform == 'win32'
joblib==0.17.0

Wyświetl plik

@ -85,7 +85,7 @@ class ODMOpenMVSStage(types.ODM_Stage):
if not args.pc_geometric:
config.append("--geometric-iters 0")
sharp = args.pc_filter > 0
sharp = args.pc_geometric
with open(densify_ini_file, 'w+') as f:
f.write("Optimize = %s\n" % (7 if sharp else 3))