Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Scale bar between stereo cameras according to time
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scale bar between stereo cameras according to time (Read 1868 times)
kcrob0401
Newbie
Posts: 13
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
Logged
Paulo
Hero Member
Posts: 1352
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
»
Logged
Best Regards,
Paul Pelletier,
Surveyor
kcrob0401
Newbie
Posts: 13
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!!
Logged
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Scale bar between stereo cameras according to time
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)