Hi,
I encountered the same result.
chunk.buildModel in script(~3min) is slower than GUI(1min9sec).
Also, face_count seems not to be used properly.
Computation time: LowFaceCount > MediumFaceCount > HighFaceCount.
I attached screenshots of GUI.
I will appreciate your help.
Additional information:
Ubuntu18.04
Metashape pro(trial)
GPU: GeForce1080Ti
10 images(3024x4032pixels)
>>> chunk.buildDepthMaps(quality=Metashape.MediumQuality, filter=Metashape.MildFiltering)
>>> chunk.buildDenseCloud()
>>> print(chunk.dense_cloud)
<DenseCloud '1612181 points'> <- The amount of points is similar as GUI(1623256).
>>> start_time = time.time()
>>> chunk.buildModel(surface=Metashape.Arbitrary, interpolation=Metashape.EnabledInterpolation, face_count=Metashape.FaceCount.LowFaceCount, source=Metashape.DenseCloudData)
BuildModel: source data = Dense cloud, surface type = Arbitrary, face count = Low, interpolation = Enabled, vertex colors = 1
Grid size: 1144 x 612 x 1308
Tree depth: 11
Tree set in 6.78561s (1612153 points)
Leaves/Nodes: 11130834/12720953
Laplacian constraints set in 5.88478s
Depth[0/11]: 1
Evaluated / Got / Solved in: 0 / 0.030369 / 0.0768158
Depth[1/11]: 8
Evaluated / Got / Solved in: 0 / 2.90871e-05 / 0.000530958
Depth[2/11]: 64
Evaluated / Got / Solved in: 0 / 0.000210762 / 0.00101233
Depth[3/11]: 512
Evaluated / Got / Solved in: 0 / 0.0013907 / 0.00366759
Depth[4/11]: 4096
Evaluated / Got / Solved in: 0 / 0.00387549 / 0.0124726
Depth[5/11]: 32768
Evaluated / Got / Solved in: 0 / 0.0701094 / 2.77984
Depth[6/11]: 26992
Evaluated / Got / Solved in: 0 / 0.0104582 / 0.0301316
Depth[7/11]: 93656
Evaluated / Got / Solved in: 0 / 0.111399 / 2.30109
Depth[8/11]: 342224
Evaluated / Got / Solved in: 0 / 0.484556 / 7.34254
Depth[9/11]: 1165992
Evaluated / Got / Solved in: 0 / 0.930498 / 14.05
Depth[10/11]: 3567904
Evaluated / Got / Solved in: 0 / 2.6048 / 42.6426
Depth[11/11]: 7486736
Evaluated / Got / Solved in: 0 / 4.94877 / 72.4493
Linear system solved in 151.357s
Got Iso-value in 0.990996s
Iso-Value -0.415341
3964200 faces extracted in 84.4937s
decimating mesh (3945237 -> 35825)
processing nodes... done in 0.022816 sec
calculating colors... done in 0.208744 sec
>>> print(int(time.time()-start_time), 'sec')
264 sec
>>> print(chunk.model)
<Model '35824 faces, 18567 vertices'>
>>> start_time = time.time()
>>> chunk.buildModel(surface=Metashape.Arbitrary, interpolation=Metashape.EnabledInterpolation, face_count=Metashape.FaceCount.MediumFaceCount, source=Metashape.DenseCloudData)
BuildModel: source data = Dense cloud, surface type = Arbitrary, face count = Medium, interpolation = Enabled, vertex colors = 1
Grid size: 1144 x 612 x 1308
Tree depth: 11
Tree set in 6.83281s (1612153 points)
Leaves/Nodes: 11130834/12720953
Laplacian constraints set in 5.73218s
Depth[0/11]: 1
Evaluated / Got / Solved in: 0 / 0.032742 / 0.04515
Depth[1/11]: 8
Evaluated / Got / Solved in: 0 / 2.19345e-05 / 0.000575066
Depth[2/11]: 64
Evaluated / Got / Solved in: 0 / 0.000210047 / 0.00163198
Depth[3/11]: 512
Evaluated / Got / Solved in: 0 / 0.00681806 / 0.00395107
Depth[4/11]: 4096
Evaluated / Got / Solved in: 0 / 0.0469992 / 0.871671
Depth[5/11]: 32768
Evaluated / Got / Solved in: 0 / 0.0666571 / 0.0435393
Depth[6/11]: 26992
Evaluated / Got / Solved in: 0 / 0.0109968 / 0.213359
Depth[7/11]: 93656
Evaluated / Got / Solved in: 0 / 0.0704165 / 1.3744
Depth[8/11]: 342224
Evaluated / Got / Solved in: 0 / 0.27553 / 2.68768
Depth[9/11]: 1165992
Evaluated / Got / Solved in: 0 / 0.856132 / 14.7494
Depth[10/11]: 3567904
Evaluated / Got / Solved in: 0 / 2.73343 / 35.9586
Depth[11/11]: 7486736
Evaluated / Got / Solved in: 0 / 5.14864 / 51.2006
Linear system solved in 116.842s
Got Iso-value in 0.906756s
Iso-Value -0.415338
3964204 faces extracted in 54.9056s
decimating mesh (3945247 -> 107476)
processing nodes... done in 0.022639 sec
calculating colors... done in 0.512526 sec
>>> print(int(time.time()-start_time), 'sec')
200 sec
>>> print(chunk.model)
<Model '107475 faces, 54669 vertices'>
>>> start_time = time.time()
>>> chunk.buildModel(surface=Metashape.Arbitrary, interpolation=Metashape.EnabledInterpolation, face_count=Metashape.FaceCount.HighFaceCount, source=Metashape.DenseCloudData)
BuildModel: source data = Dense cloud, surface type = Arbitrary, face count = High, interpolation = Enabled, vertex colors = 1
Grid size: 1144 x 612 x 1308
Tree depth: 11
Tree set in 6.72557s (1612153 points)
Leaves/Nodes: 11130834/12720953
Laplacian constraints set in 5.30451s
Depth[0/11]: 1
Evaluated / Got / Solved in: 0 / 0.0217791 / 0.025856
Depth[1/11]: 8
Evaluated / Got / Solved in: 0 / 2.12193e-05 / 0.000516891
Depth[2/11]: 64
Evaluated / Got / Solved in: 0 / 0.000212193 / 0.00101972
Depth[3/11]: 512
Evaluated / Got / Solved in: 0 / 0.000766039 / 0.00295591
Depth[4/11]: 4096
Evaluated / Got / Solved in: 0 / 0.00368476 / 0.033103
Depth[5/11]: 32768
Evaluated / Got / Solved in: 0 / 0.0562215 / 1.25815
Depth[6/11]: 26992
Evaluated / Got / Solved in: 0 / 0.0289958 / 0.079834
Depth[7/11]: 93656
Evaluated / Got / Solved in: 0 / 0.0720582 / 1.37767
Depth[8/11]: 342224
Evaluated / Got / Solved in: 0 / 0.213139 / 2.5729
Depth[9/11]: 1165992
Evaluated / Got / Solved in: 0 / 0.805761 / 9.47408
Depth[10/11]: 3567904
Evaluated / Got / Solved in: 0 / 2.12819 / 15.3353
Depth[11/11]: 7486736
Evaluated / Got / Solved in: 0 / 4.12108 / 29.3142
Linear system solved in 67.3245s
Got Iso-value in 0.932s
Iso-Value -0.41534
3964200 faces extracted in 45.246s
decimating mesh (3945254 -> 322430)
processing nodes... done in 0.023334 sec
calculating colors... done in 1.3526 sec
>>> print(int(time.time()-start_time), 'sec')
140 sec
>>> print(chunk.model)
<Model '322430 faces, 162390 vertices'>
>>> start_time = time.time()
>>> chunk.buildModel(surface=Metashape.Arbitrary, interpolation=Metashape.EnabledInterpolation, face_count=108204, source=Metashape.DenseCloudData)
BuildModel: source data = Dense cloud, surface type = Arbitrary, face count = 108204, interpolation = Enabled, vertex colors = 1
Grid size: 1144 x 612 x 1308
Tree depth: 11
Tree set in 6.79055s (1612153 points)
Leaves/Nodes: 11130834/12720953
Laplacian constraints set in 5.40077s
Depth[0/11]: 1
Evaluated / Got / Solved in: 0 / 0.0289469 / 0.147501
Depth[1/11]: 8
Evaluated / Got / Solved in: 0 / 0.0517442 / 0.656491
Depth[2/11]: 64
Evaluated / Got / Solved in: 0 / 0.000213146 / 0.00120711
Depth[3/11]: 512
Evaluated / Got / Solved in: 0 / 0.000746012 / 0.167142
Depth[4/11]: 4096
Evaluated / Got / Solved in: 0 / 0.0278745 / 0.0296922
Depth[5/11]: 32768
Evaluated / Got / Solved in: 0 / 0.0380363 / 0.177285
Depth[6/11]: 26992
Evaluated / Got / Solved in: 0 / 0.0731647 / 1.32664
Depth[7/11]: 93656
Evaluated / Got / Solved in: 0 / 0.179184 / 2.59301
Depth[8/11]: 342224
Evaluated / Got / Solved in: 0 / 0.271808 / 3.8783
Depth[9/11]: 1165992
Evaluated / Got / Solved in: 0 / 0.698951 / 6.66303
Depth[10/11]: 3567904
Evaluated / Got / Solved in: 0 / 2.34101 / 16.8316
Depth[11/11]: 7486736
Evaluated / Got / Solved in: 0 / 4.87187 / 67.0118
Linear system solved in 108.562s
Got Iso-value in 1.05083s
Iso-Value -0.41534
3964198 faces extracted in 86.3172s
decimating mesh (3945230 -> 108204)
processing nodes... done in 0.022791 sec
calculating colors... done in 0.540445 sec
>>> print(int(time.time()-start_time), 'sec')
223 sec
>>> print(chunk.model)
<Model '108204 faces, 55024 vertices'>
Thank you.
Kaz