Hello
I want to make a network matchPhoto with several PCs with the following python code.
When I run my script the server generates a spot whereas if I run by the build point cloud command the server generates 16 spots
thank you
import Metashape
path = "B:/TEST_JANVIER_2019/Togne_NetWork/Match_NetWork.psx"
doc = Metashape.Document()
doc.open(path)
chunk = doc.chunk
client = Metashape.NetworkClient()
tasks = list()
task = Metashape.Tasks.MatchPhotos()
task.downscale = 2
task.keypoint_limit = 10000
network_task = Metashape.NetworkTask()
network_task.name = task.name
network_task.params = task.encode()
network_task.frames.append((chunk.key, 0))
tasks.append(network_task)
client.connect("192.168.0.193") #server ip
batch_id = client.createBatch(path, tasks)
client.resumeBatch(batch_id)