kopia lustrzana https://github.com/OpenDroneMap/ODM
Read rig camera index for MicaSense Altum
rodzic
586ad72a76
commit
7a2c097c60
|
@ -75,14 +75,15 @@ class ODM_Photo:
|
|||
|
||||
# Find band name and camera index (if available)
|
||||
camera_index_tags = [
|
||||
'DLS:SensorId', # Micasense
|
||||
'@Camera:RigCameraIndex' # Parrot Sequoia
|
||||
'DLS:SensorId', # Micasense RedEdge
|
||||
'@Camera:RigCameraIndex', # Parrot Sequoia
|
||||
'Camera:RigCameraIndex', # MicaSense Altum
|
||||
]
|
||||
|
||||
for tags in xmp:
|
||||
if 'Camera:BandName' in tags:
|
||||
self.band_name = str(tags['Camera:BandName']).replace(" ", "")
|
||||
else:
|
||||
|
||||
for cit in camera_index_tags:
|
||||
if cit in tags:
|
||||
self.band_index = int(tags[cit])
|
||||
|
|
Ładowanie…
Reference in New Issue