Forum

Author Topic: split _into_chunks script - Any way to avoid duplicating all cameras?  (Read 2945 times)

ashalota

  • Jr. Member
  • **
  • Posts: 93
  • Forest orthomosaics, long transects (300m agl)
    • View Profile
    • NASA: G-LiHT (Public orthomosaics)
I'm trying to create an orthomosaic of a long transect of 5000 photos.

After several failures, my current plan is to:
1) Align all photos in one chunk
2) Split into ~200 chunks
3) Create meshes
4) Combine chunks
5) Create orthomosaic

I looked at the split into chunks script (https://github.com/agisoft-llc/metashape-scripts/blob/master/src/split_in_chunks_dialog.py) but it isn't working out for me since it seems that it copies all the cameras every time. Running chunk.copy on 5000 photos with the alignment points as well is taking very long.

Does anyone know a work around where I can copy only my ~20 photos at a time, but also copy the alignment/key points with them into the new chunk?