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.

Topics - hluong

Pages: [1]
Python and Java API / Duplicate element keys not allowed
« on: June 17, 2019, 12:18:43 PM »
When I run a metashape python script I receive this warning message "Duplicate element keys not allowed", the third time I receive a runtime error with the same message (this happen when the masks are imported). About 50% of the time the script is running without problems, in other cases it stopped running because of this error. Any ideas?

An extract of the script I am running:

doc =, docname))
doc.read_only = False

# create chunk and load images
chunk = doc.addChunk()
image_list1 = sorted(glob.glob(os.path.join(pathinput1, '*.png')))
image_list2 = sorted(glob.glob(os.path.join(pathinput2, '*.png')))

Bug Reports / importing large PLY freezes photoscan
« on: October 31, 2018, 11:23:04 PM »
I have imported a dense point cloud in PLY format (which was exported from Photoscan, same version), but Photoscan freezes at 69% (when using my python scripts: it keeps running forever). I have tested the scripts for several projects without problems. So I wonder if there are limitations on the size of PLY files? I have opened the PLY-file with meshlab and I don't see a problem there.

Pages: [1]