Forum

Author Topic: list of camera used to build the dense cloud  (Read 4518 times)

adrien_gbx

  • Newbie
  • *
  • Posts: 7
    • View Profile
list of camera used to build the dense cloud
« on: April 21, 2015, 10:57:08 AM »
Hi erveyone,

Does someone know how to extract the list of the camera name used to compute the dense cloud ?

Regards,

Adrien

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15165
    • View Profile
Re: list of camera used to build the dense cloud
« Reply #1 on: April 25, 2015, 11:52:36 AM »
Hello Adrien,

If "Keep depth maps" option is on and depth maps are actually present in the project, you can count the number of cameras with the depth maps generated.

Code: [Select]
camera_list = list()
for camera in chunk.cameras:
     if camera in chunk.depth_maps.keys():
          camera_list.append(camera.label)
Best regards,
Alexey Pasumansky,
Agisoft LLC