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 - darkl1ght

Pages: [1]
General / Need Assistance for Agisoft Processing Hardware
« on: December 29, 2021, 12:59:45 PM »
I need to assemble CPU parts for building a desktop PC to process Agisoft Images.

System Requirements (

In the above page, it says for Advanced Configuration I need:

up to 128 GB RAM

CPU: 6 - 24 core Intel or AMD processor, 3.0+ GHz

RAM: 32 - 128 GB

GPU: 1 - 2 NVIDIA or AMD GPUs with 1920+ CUDA cores / shader processor units
(For example: GeForce RTX 2080 Ti or Radeon VII)

I need to process several datasets with an image count ranging from 100 to 4000 (5000 sometimes).

For the same, I was thinking 128 GB RAM and a CPU with 24+ or 32 cores (Intel or AMD anything is fine) processor.

But which company RAM and model of CPU will be suitable (and compatible)?

I am not sure about GPU either.

Also, I am not sure which Motherboard will be compatible with all these so that there are no performance and bottleneck issues.

Please guide me with any information that you can that can help me purchase these items.


I am writing scripts to complete the work flow (from building several elements like alignment(step1), matching(step2), building DEM(step3), Dense Cloud(step4), Orthomosaic(step5) and finally Tiled Model(step6), and then exporting the Raster File from saved file). I am using Python API version 1.6.5.

My goal is to implement it in such a way, that if for example it fails in step3, then on the next run of the script, since step1 and step2 is already completed, and I am using the previous chunk in the next run, it should start directly from step3 again. This I am trying to implement(still in progress). Any suggestions or points to be taken care of during this?

Now, the main issue that I am facing is,

When I have completed all the steps,I am trying to export Raster File(earlier Orthomosaic), from a pre-saved .psx extension file. I am running a script just to open the file in Metashape Python API and export the Raster File, without performing any other step of processing(that have been already performed and saved in main_file.psx file).

I have tried exporting in the below file , but it gives error:

Code: [Select]
import sys
import Metashape
import os
from pathlib import Path

current_path = os.getcwd()
parent_path = str(Path(current_path).parent)
save_path = ''
project_name = ''

def main():

    project_folder_name = 'project2'
    # save path
    save_path = parent_path + '/projects/' \
        + project_folder_name + '/' \
        + project_folder_name
    # + '_' \
    # + start_time

    # creating save directory
    os.makedirs(name=save_path, exist_ok=True)

    global project_name
    project_name = 'main_file.psx'

    # creating document
    doc = Metashape.Document()

    # epsg_code
    epsg_code = 'EPSG::32643' + '/' + project_name)

    # adding chunk
    chunk = Metashape.Chunk
    chunk = doc.chunk

    # adding co-ordinate reference system
    # = Metashape.CoordinateSystem(epsg_code)
    raster_compression = Metashape.ImageCompression()
    raster_compression.tiff_compression = Metashape. \
    raster_compression.jpeg_quality = 90
    raster_compression.tiff_big = True

    # projection
    projection = Metashape.OrthoProjection() = Metashape.CoordinateSystem(epsg_code)

        path=parent_path + '/projects/'
        + project_folder_name + '/' + 'export/' + 'orthophoto.tif',
    ) + '/' + project_name, chunks=[chunk])




Code: [Select]
LoadProject: path = /home/xxxx/projects/project2/project2/main_file.psx
loaded project in 0.000677 sec
Traceback (most recent call last):
  File "", line 74, in <module>
  File "", line 55, in main
AttributeError: 'NoneType' object has no attribute 'exportRaster'

What am I doing wrong? Or what I am doing is not possible, since this same thing can be done in UI, wherein we can load the project into the Metashape UI application and then export any data we want from the
chunk>(Right click)> Export xyz option

Please let me know if any more information is needed from my end. Waiting for the response.


Pages: [1]