Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Extracting time consumed for metashape running.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Extracting time consumed for metashape running. (Read 4952 times)
raehyuk
Newbie
Posts: 12
Extracting time consumed for metashape running.
«
on:
October 16, 2019, 10:16:16 AM »
Hello
I am running metashape-pro with python scripting.
After aligning cameras I save the project.
This is the part of the code.
###################################
for frame in chunk.frames:
# you can specify the degree of accuracy
frame.matchPhotos(accuracy=Metashape.MediumAccuracy)
chunk.alignCameras()
doc.save(dir_to_be_saved+"/project.psz", chunks = [doc.chunk])
##################################
Is there any way to check the time consumed for aligning cameras?
Thank you in advance!
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15702
Re: Extracting time consumed for metashape running.
«
Reply #1 on:
October 16, 2019, 01:06:43 PM »
Hello raehyuk,
The information related to the time spent on each processing operation can be accessed via meta information of the corresponding instance, for example:
Code:
[Select]
chunk.point_cloud.meta['MatchPhotos/duration']
chunk.meta['AlignCameras/duration']
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Extracting time consumed for metashape running.
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)