Mapillary_tools: create a smaller number of files

mapillary_tools creates a huge amount of additional files during the upload process.
For example, a directory with 999 images has 23976 files after mapillary_tools is done with it.

That’s 23 extra files for each image.

Would be wonderful if this could be brought down - maybe there are performance improvements to be had (deleting those directories should be faster, at least).
Additionally, if images are uploaded from the SD card and accidentally not removed from it, such a huge number of files kills GoPro camera - it hangs if even one such directory with a small number of original images is left on the card.

1 Like

I actually find the individual files very useful in the debugging process when things go wrong (and they do). It is also an excellent method to recover from a crash or abort. It can continue on from where the fault happened based on the existence of a file rather than the contents of it.

I would elect to keep them. The only issue I have ever had was when I used a smallish drive and ran out of inodes.

Oh, I don’t mean dropping any data that is useful - perhaps some nice way to put all that in one or two files instead.

1 Like

Feel free to add a comment to this issue: