Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: kcrob0401 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
-
Hello kcrob401,
you can use the Exif data DateTime photo was taken to test:
if camera1.photo.meta['Exif/DateTime'] == camera2.photo.meta['Exif/DateTime']:
-
Hi Paulo,
Substituting in this line worked first time, thanks a lot!!