Hello,
I am trying to access metashape network processing using the example give here -
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/samples/network_processing.py by giving my folder paths as
# Checking compatibility
compatible_major_version = "2.1"
found_major_version = ".".join(Metashape.app.version.split('.')[:2])
#if found_major_version != compatible_major_version:
# raise Exception("Incompatible Metashape version: {} != {}".format(found_major_version, compatible_major_version))
def find_files(folder, types):
return [entry.path for entry in os.scandir(folder) if (entry.is_file() and os.path.splitext(entry.name)[1].lower() in types)]
#if len(sys.argv) < 3:
# print("Usage: network_processing.py <image_folder> <output_folder>")
# raise Exception("Invalid script arguments")
# Define the local paths
image_folder = "//media/vetinari/vijaya/IfAG"
output_folder = "//media/vetinari/vijaya/IfAG"
network_server = '10.76.15.21'
process_network = True
Metashape.app.settings.network_path = "/mnt/datasets"
and I get the following error (attached screenshot) of " Can't open open file: No such file or directory (2):"
kindly guide, thanks