Forum

Author Topic: identifying non-aligned photos  (Read 2533 times)

William Ringle

  • Newbie
  • *
  • Posts: 40
    • View Profile
identifying non-aligned photos
« on: October 23, 2015, 02:29:52 PM »
I am new to Python scripting. What is the property that identifies a photo/camera as unaligned (N/A)? I searched the documentation but couldn't find it. I would like to run a script to list all photos/cameras that are not aligned.

James

  • Hero Member
  • *****
  • Posts: 736
    • View Profile
Re: identifying non-aligned photos
« Reply #1 on: October 23, 2015, 02:49:31 PM »
this might help

http://www.agisoft.com/forum/index.php?topic=3942.0

for camera in doc.chunk.cameras:
    if not camera.transform:

William Ringle

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: identifying non-aligned photos
« Reply #2 on: October 23, 2015, 03:07:49 PM »
Thank you James, worked perfectly.