Forum

Author Topic: Scale bar between stereo cameras according to time  (Read 1090 times)

kcrob0401

  • Newbie
  • *
  • Posts: 13
    • View Profile
Scale bar between stereo cameras according to time
« on: August 01, 2022, 01:36:00 PM »
Hi,

Currently working on a project which consists of hundred's of time synced stereo camera pairs. My goal is to have a script that creates a scale bar between each stereo pair based on time the cameras were taken. Probably something similar to this... https://www.agisoft.com/forum/index.php?topic=13204.msg58594#msg58594 except instead of requiring "right"/"left" to be in each label, for the pairs to be allocated by time taken, since each pair was taken at exactly the same time.

Any help would be appreciated,
Thanks


Paulo

  • Hero Member
  • *****
  • Posts: 1303
    • View Profile
Re: Scale bar between stereo cameras according to time
« Reply #1 on: August 01, 2022, 02:49:52 PM »
Hello kcrob401,

you can use the Exif data DateTime photo was taken to test:
Code: [Select]
if camera1.photo.meta['Exif/DateTime'] == camera2.photo.meta['Exif/DateTime']:
« Last Edit: August 02, 2022, 06:55:38 PM by Paulo »
Best Regards,
Paul Pelletier,
Surveyor

kcrob0401

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Scale bar between stereo cameras according to time
« Reply #2 on: August 01, 2022, 07:05:14 PM »
Hi Paulo,

Substituting in this line worked first time, thanks a lot!!