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.


Topics - cgg_UH

Pages: [1]
1
Bug Reports / Error: Can't locate zip directory/Can't open archive
« on: April 27, 2021, 09:37:16 AM »
Hi everyone. This has been a persistent issue for the last several days. I've been doing some batch processing on Agisoft Cloud. When downloading the project after processing has finished, I keep getting the following errors:

Error: Can't locate zip directory

Error: Can't open archive: .../projectname.files/0/0/depth_maps/data1.zip

I've tried deleting the .psx and the .files directory and reprocessing to no avail. I've tried File>Cloud>Download Project... as an alternative, but still getting the similar errors. For different projects, the error might point to different archives within the depth_map directory (i.e. might be data0.zip, data1.zip, data2.zip, etc.). Coincidentally, I've recently updated to the most recent release, but not sure if that has something to do with it.

Does anybody have an idea what might be going on? Has anybody experienced a similar issue?

Thanks in advance for any help!

2
Agisoft Cloud / Running User Scripts on Agisoft Cloud
« on: March 22, 2021, 11:07:39 PM »
Hi everyone,

Apologies if this has been asked before, I tried to search the forum as best I could.

Is it possible to run user-created python scripts on Agisoft Cloud? I've automated my workflow (aligning photos, error reduction, dense cloud/DEM/orthomosaic generation) and was wondering if this is possible. If not, might anyone have any ideas as to an alternative?

Much appreciated!

3
Python and Java API / Iterate Gradual Selection until reaching target value
« on: November 04, 2020, 03:21:32 AM »
Hi all,

I've been trying to automate the Gradual Selection process (Reconstruction Uncertainty, Projection Accuracy, and Reprojection Error) for point cloud error reduction. The goal is to select 10% of the points in the point cloud given a Gradual Selection category, delete the points, and optimize the cameras, and keep looping through until a target value is reached without any points in the point cloud being selected.

For example, under Reconstruction Uncertainty, I want to select 10% of the points in the point cloud, delete them, and optimize the cameras. Then do this as many times as it takes until reaching a Reconstruction Uncertainty level of 10 without any points being selected.

In a reply to another post, Alexey suggested the following:
Code: [Select]
import Metashape as ps
chunk = ps.app.document.chunk
THRESHOLD = 10 #percentage values for selection


fltr = ps.PointCloud.Filter()
fltr.init(chunk, ps.PointCloud.Filter.ReconstructionUncertainty)
values = fltr.values.copy()
values.sort()
thresh = values[int(len(values)* (1-THRESHOLD/100))]
fltr.selectPoints(thresh)

This looks like it'd work, but how do I go about checking the reconstruction uncertainty's level after deleting the points and optimizing the cameras?

I'm very much a python noob. Just been trying to glean what I can from the forum and other resources, so if you have any suggestions, that'd be awesome.

Pages: [1]