1
Python and Java API / Delete images from harddrive
« on: August 13, 2020, 11:27:57 AM »
Hi everybody,
due to a certain way of taking our pictures along an axis, we sometimes have duplicate images or images with extremely high overlap (>99%). Initially I thought, that's not a problem, but during the optimization-step, these pictures produce a very high pixel-error, leading to a strange result.
Nevertheless, I found out, if I delete those images and run the step over again, everything is fine.
Now I REALLY want to delete those images, not just from the chunk or the project, but from the hard drive. It is possible by right-clicking on the image, choose "open containing folder", deleting it manually and also delete it in agisoft. this is okay for several pictures, but sometimes it exceeds 50 pictures per project, which is annoying.
What want to do is create a button or shortcut to do that routine for me. So i just have to select the image, press the shortcut and it magically is removed from both the project and the hard drive.
Is that possible in any way?
Thank you!
due to a certain way of taking our pictures along an axis, we sometimes have duplicate images or images with extremely high overlap (>99%). Initially I thought, that's not a problem, but during the optimization-step, these pictures produce a very high pixel-error, leading to a strange result.
Nevertheless, I found out, if I delete those images and run the step over again, everything is fine.
Now I REALLY want to delete those images, not just from the chunk or the project, but from the hard drive. It is possible by right-clicking on the image, choose "open containing folder", deleting it manually and also delete it in agisoft. this is okay for several pictures, but sometimes it exceeds 50 pictures per project, which is annoying.
What want to do is create a button or shortcut to do that routine for me. So i just have to select the image, press the shortcut and it magically is removed from both the project and the hard drive.
Is that possible in any way?
Thank you!