kopia lustrzana https://github.com/OpenDroneMap/ODM
Merge pull request #1097 from pierotofy/diskoptimize
Better band name support
Former-commit-id: d840664c3d
pull/1161/head
commit
211ca891b3
|
@ -143,7 +143,7 @@ class ODM_Photo:
|
||||||
|
|
||||||
for tags in xmp:
|
for tags in xmp:
|
||||||
try:
|
try:
|
||||||
band_name = self.get_xmp_tag(tags, 'Camera:BandName')
|
band_name = self.get_xmp_tag(tags, ['Camera:BandName', '@Camera:BandName'])
|
||||||
if band_name is not None:
|
if band_name is not None:
|
||||||
self.band_name = band_name.replace(" ", "")
|
self.band_name = band_name.replace(" ", "")
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue