Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kot

Pages: [1]
1
Bug Reports / Export dense cloud in oc3 doesn't clip cloud by boundary
« on: August 26, 2020, 07:20:40 PM »
Export with clipping in other formats is workable.

2
Hello kot,

Can you please provide more information describing the situation with the pairs argument?

It is an optional argument. If you define it, Metashape will try to match only specified pairs.

I am getting "ValueError: Invalid argument value: pairs" when try to add pairs to matchPhotos. But yes, I was wrong and this error associated with value. What am I doing wrong?

Example:
Code: [Select]
pairs_keys = [(chunk.cameras[i-1].key, chunk.cameras[i].key) for i in range(1, len(chunk.cameras), 2)]

chunk.matchPhotos(pairs=pairs_keys)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-25-f6141baa8b25> in <module>
----> 1 chunk.matchPhotos(pairs=pairs_keys)

ValueError: Invalid argument value: pairs

3
Is this a bug or Metashape detects pairs in matchPhotos arguments by himself? I am using Python API.

Pages: [1]