Recent Posts

Pages: 1 [2] 3 4 ... 10
Python and Java API / Re: SSL python module and scripts dependencies
« Last post by Alexey Pasumansky on January 26, 2023, 05:54:21 PM »
Hello Olivier,

Please check that _ssl.pyd, libcrypto-1_1.dll, libssl-1_1.dll files are present in C:/Program Files/Agisoft/Metashape Pro/python/DLLs folder of Metashape Pro installation directory. If they are missing, re-install Metashape Pro.
Then, if the issue still persists, try to copy them to C:/Program Files/Agisoft/Metashape Pro/python/ directory and re-start Metashape.
Hello Adrien,

Can you please check, if the problem persists when you copy the original model and decimate it to low polygon count, like 100 000 faces? If it happens, please send to us (to the project copy with the  camera alignment and tie points only (it should reduce the project size), so that we could try to reproduce the problem on our side.

Also please check the RAM consumption during the operation - does it go up to 64 GB when the application crashes?

My Agisoft Metashape Pro is constantly crashing during the texturing step if the required GPU memory is too high.

I am on Ubuntu 22.04 and, as I saw in other posts that it might be a problem of drivers, I did all the updates that I could but the problem still persists.
My Metsahape Pro version is V2.0.0 (Free trial).
My GPU: NVIDIA RTX A5000/PCIe/SSE2 / NVIDIA Corporation GA102GL [RTX A5000] with 24GB of RAM (driver NVIDIA 525.78.01).
My CPU: 12th Gen Intel® Core™ i7-12700K × 20 with 64GB of RAM.

I am facing this crash in a very large project (>3000 images) either when building texture with 32K resolution or when I try to build the mesh with the ultra-high quality for the depth maps.

Looking into the logs (a log is attached for the crash during mesh reconstruction with ultra quality for depth maps but the crash is at the exact same point when building 32K texture) it appears that the crash occurs during the Blending Textures step when there is not enough space on the VRAM of my GPU and the computation needs to be moved to the CPU (I have 64 GB of RAM).

I would really appreciate to understand how to avoid this crash, which by the way is quite brutal, sometimes my computer even gets shutdown or at best my user session gets killed. My project requires to work with really high-quality reconstruction of large objects so I need to find a fix.

Many thanks in advance for the help!
Python and Java API / Re: SSL python module and scripts dependencies
« Last post by densecloud on January 26, 2023, 04:11:04 PM »
Hi Alexey!

Win 10
MS 2.0.0

C:\Program Files\Agisoft\Metashape Pro\python>python -V
Python 3.9.13
Python and Java API / Re: SSL python module and scripts dependencies
« Last post by Alexey Pasumansky on January 26, 2023, 03:45:06 PM »
Hello Olivier,

What OS and Metashape Pro versions are you using?
Python and Java API / Trigger Python script over network
« Last post by MoWo on January 26, 2023, 01:41:35 PM »
Hi everybody,

we have been using Metashape for some time to create aerial orthomosaics. For this, I have developed a Python script that performs this process fully automatically. Our Metashape instance is installed on a powerful Windows 10 client.

In our IT infrastructure, we have a separate (less powerful) Windows server running an FME server application. FME is an ETL tool focused on geospatial data. A workflow of this ETL tool should now first trigger the existing Python script on the powerful client. This is followed by further processing steps of the ETL tool with the goal of providing the data via GeoServer as a web map service.

Currently, it is planned that a separate Python script is executed initially when the ETL workflow is executed - this then calls the Metashape script via subprocess call.

Code: [Select]
import subprocess

# ... some stuff

output = subprocess.check_output([r'\\<machine>\c$\<install_path>\metashape.exe', '-r', r'\\<machine>\<path>\'])

# ... other stuff

I've been struggling with our IT for several weeks now to make sure that the service account of the ETL tool gets permission to run the Metashape script on the client (Windows Server and Metashape client are on the same company network).

After another phone call with our IT, I was now tasked with finding out what permissions are intended to be granted by the vendor to allow me to run the script as requested.  :o ??

In my eyes, the service account here only needs to be granted network access for the hidden share (\\<address>\c$\<path>\metashape.exe) as well as an execute permission, but maybe I'm just missing something?

Are there any other, possibly even better ways to implement my project? For the reasons mentioned above, the implementation should better not become too complicated...  ;D

Thanks for any helpful feedback.
Camera Calibration / Lens Calibration : How to improve estimation?
« Last post by jungeun on January 26, 2023, 12:54:41 PM »

I am using lens calibration for more accurate calibration than marker-based camera calibration.
I followed the tutorial below.

Unfortunately, the reprojection error looks pretty big as shown in the attached picture.
I have two questions.

1. Is there any way to make better reprojection error?

2. I don't know if Lens Calibration is really better than marker-based camera calibration (which seems to uses exif data).
    Can the reprojection error be checked using the parameters obtained from marker-based camera calibration?
    How do I check which one is better?

Here are my settings I used for :
- Camera used: Sony Corporation DSC-RX0M2
- Optimize f, Cx, Cy, K1~K3, P1, P2 with 100 images
- Since the monitor is quite small, the camera is placed 30 to 50 cm away from the monitor.
- To obtain 100 images, take a VIDEO first and get the frame with opencv. (exif information is lost)

You will be of great help. thank you so much.
General / Re: Non-Coded targets automatic detection
« Last post by BenW22 on January 26, 2023, 06:53:50 AM »
Hi All,

I think 3DWinter has asked dome good questions. Would anyone have any answers?

I too am looking at making some non-coded targets and am looking for details on what is best. I'm flying a DJI m300 with Zenmuse P1 (35mm and 50mm lens). Could anyone tell me if they have had success with non-coded targets? If so what pattern, colour, size etc did use use. Also what GSD, flight height, camera where you using.

Any help appreciated.

I reset an aligned project (~16k images) after correcting an error in image positions, by selecting "reset alignment",  zeroing out the adjusted camera calibration parameters, and resetting the transform (trying to be thorough so I didn't corrupt camera models with previous alignment).

I was (pleasantly) surprised when I realigned, and matching completed very quickly (minutes instead of hours). It was clear that key points were saved, rather than regenerated, and I'm curious how key point behavior changed from this discussion:

Hello andyroo,

Currently it is not possible to split key point detection and image matching stages, they are grouped into Match Photos task. Keep key points feature has been introduced to allow the incremental matching, when new images are added to the already matched and aligned set of images.

As for the name of "reset current alignment" is meant to reset all the results obtained with running Align Photos operation, which include key points, tie points and EO/IO parameters.

Do I now need to explicitly delete keypoints or will they be automatically deleted if I change the tie point criteria? will they be automagically generated for new images if I add them, but kept for the old ones? Just trying to understand keypoints in detail because I frequently align multiple image collections together and this is a useful feature for me.
General / Re: multicamera system DJI H20T
« Last post by dsmith9005 on January 25, 2023, 10:46:05 PM »
Were you able to resolve this issue?
Pages: 1 [2] 3 4 ... 10